You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegen/resources/plot-schema.json
+38-2Lines changed: 38 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22186,12 +22186,30 @@
22186
22186
"valType": "boolean"
22187
22187
},
22188
22188
"split": {
22189
-
"description": "Show hover information (open, close, high, low) in separate labels.",
22189
+
"description": "Show hover information (open, close, high, low) in separate labels, rather than a single unified label. Default: *false*. When set to *true*, `hovertemplate` is ignored.",
22190
22190
"dflt": false,
22191
22191
"editType": "style",
22192
22192
"valType": "boolean"
22193
22193
}
22194
22194
},
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
+
},
22195
22213
"hovertext": {
22196
22214
"arrayOk": true,
22197
22215
"description": "Same as `text`.",
@@ -52888,12 +52906,30 @@
52888
52906
"valType": "boolean"
52889
52907
},
52890
52908
"split": {
52891
-
"description": "Show hover information (open, close, high, low) in separate labels.",
52909
+
"description": "Show hover information (open, close, high, low) in separate labels, rather than a single unified label. Default: *false*. When set to *true*, `hovertemplate` is ignored.",
52892
52910
"dflt": false,
52893
52911
"editType": "style",
52894
52912
"valType": "boolean"
52895
52913
}
52896
52914
},
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`.",
0 commit comments