Skip to content

Commit 417a035

Browse files
committed
update schema
1 parent bb13493 commit 417a035

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

test/plot-schema.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22192,6 +22192,24 @@
2219222192
"valType": "boolean"
2219322193
}
2219422194
},
22195+
"hovertemplate": {
22196+
"arrayOk": true,
22197+
"description": "Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example \"y: %{y}\" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example \"Day: %{2019-01-01|%A}\". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. Variables that can't be found will be replaced with the specifier. For example, a template of \"data: %{x}, %{y}\" will result in a value of \"data: 1, %{y}\" if x is 1 and y is missing. Variables with an undefined value will be replaced with the fallback value. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, all attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Finally, the template string has access to variables `open`, `high`, `low` and `close`. Anything contained in tag `<extra>` is displayed in the secondary box, for example `<extra>%{fullData.name}</extra>`. To hide the secondary box completely, use an empty tag `<extra></extra>`.",
22198+
"dflt": "",
22199+
"editType": "none",
22200+
"valType": "string"
22201+
},
22202+
"hovertemplatefallback": {
22203+
"description": "Fallback string that's displayed when a variable referenced in a template is missing. If the boolean value 'false' is passed in, the specifier with the missing variable will be displayed.",
22204+
"dflt": "-",
22205+
"editType": "none",
22206+
"valType": "any"
22207+
},
22208+
"hovertemplatesrc": {
22209+
"description": "Sets the source reference on Chart Studio Cloud for `hovertemplate`.",
22210+
"editType": "none",
22211+
"valType": "string"
22212+
},
2219522213
"hovertext": {
2219622214
"arrayOk": true,
2219722215
"description": "Same as `text`.",
@@ -52894,6 +52912,24 @@
5289452912
"valType": "boolean"
5289552913
}
5289652914
},
52915+
"hovertemplate": {
52916+
"arrayOk": true,
52917+
"description": "Template string used for rendering the information that appear on hover box. Note that this will override `hoverinfo`. Variables are inserted using %{variable}, for example \"y: %{y}\" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown. Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example \"Price: %{y:$.2f}\". https://github.com/d3/d3-format/tree/v1.4.5#d3-format for details on the formatting syntax. Dates are formatted using d3-time-format's syntax %{variable|d3-time-format}, for example \"Day: %{2019-01-01|%A}\". https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. Variables that can't be found will be replaced with the specifier. For example, a template of \"data: %{x}, %{y}\" will result in a value of \"data: 1, %{y}\" if x is 1 and y is missing. Variables with an undefined value will be replaced with the fallback value. The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plotly.com/javascript/plotlyjs-events/#event-data. Additionally, all attributes that can be specified per-point (the ones that are `arrayOk: true`) are available. Finally, the template string has access to variables `open`, `high`, `low` and `close`. Anything contained in tag `<extra>` is displayed in the secondary box, for example `<extra>%{fullData.name}</extra>`. To hide the secondary box completely, use an empty tag `<extra></extra>`.",
52918+
"dflt": "",
52919+
"editType": "none",
52920+
"valType": "string"
52921+
},
52922+
"hovertemplatefallback": {
52923+
"description": "Fallback string that's displayed when a variable referenced in a template is missing. If the boolean value 'false' is passed in, the specifier with the missing variable will be displayed.",
52924+
"dflt": "-",
52925+
"editType": "none",
52926+
"valType": "any"
52927+
},
52928+
"hovertemplatesrc": {
52929+
"description": "Sets the source reference on Chart Studio Cloud for `hovertemplate`.",
52930+
"editType": "none",
52931+
"valType": "string"
52932+
},
5289752933
"hovertext": {
5289852934
"arrayOk": true,
5289952935
"description": "Same as `text`.",

0 commit comments

Comments
 (0)