Skip to content

Commit ba38536

Browse files
authored
Merge pull request #401 from plotly/update-docs
update docs for v6.5 v3.3
2 parents 64648aa + 68848c1 commit ba38536

File tree

3 files changed

+44
-4
lines changed

3 files changed

+44
-4
lines changed

_data/jsversion.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "3.2.0"
2+
"version": "3.3.0"
33
}

_data/plotschema.json

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43478,6 +43478,26 @@
4347843478
"editType": "none",
4347943479
"valType": "string"
4348043480
},
43481+
"hovertemplate": {
43482+
"arrayOk": true,
43483+
"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>`.",
43484+
"dflt": "",
43485+
"editType": "none",
43486+
"valType": "string",
43487+
"magic_underscores": "fig.update_traces(hovertemplate=&lt;VALUE&gt;, selector=dict(type='ohlc'))"
43488+
},
43489+
"hovertemplatesrc": {
43490+
"description": "Sets the source reference on Chart Studio Cloud for `hovertemplate`.",
43491+
"editType": "none",
43492+
"valType": "string"
43493+
},
43494+
"hovertemplatefallback": {
43495+
"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.",
43496+
"dflt": "-",
43497+
"editType": "none",
43498+
"valType": "any",
43499+
"magic_underscores": "fig.update_traces(hovertemplatefallback=&lt;VALUE&gt;, selector=dict(type='ohlc'))"
43500+
},
4348143501
"xhoverformat": {
4348243502
"description": "Sets the hover text formatting rulefor `x` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*By default the values are formatted using `xaxis.hoverformat`.",
4348343503
"dflt": "",
@@ -43888,7 +43908,7 @@
4388843908
"magic_underscores": "fig.update_traces(hoverlabel_showarrow=&lt;VALUE&gt;, selector=dict(type='ohlc'))"
4388943909
},
4389043910
"split": {
43891-
"description": "Show hover information (open, close, high, low) in separate labels.",
43911+
"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.",
4389243912
"dflt": false,
4389343913
"editType": "style",
4389443914
"valType": "boolean",
@@ -44277,6 +44297,26 @@
4427744297
"editType": "none",
4427844298
"valType": "string"
4427944299
},
44300+
"hovertemplate": {
44301+
"arrayOk": true,
44302+
"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>`.",
44303+
"dflt": "",
44304+
"editType": "none",
44305+
"valType": "string",
44306+
"magic_underscores": "fig.update_traces(hovertemplate=&lt;VALUE&gt;, selector=dict(type='candlestick'))"
44307+
},
44308+
"hovertemplatesrc": {
44309+
"description": "Sets the source reference on Chart Studio Cloud for `hovertemplate`.",
44310+
"editType": "none",
44311+
"valType": "string"
44312+
},
44313+
"hovertemplatefallback": {
44314+
"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.",
44315+
"dflt": "-",
44316+
"editType": "none",
44317+
"valType": "any",
44318+
"magic_underscores": "fig.update_traces(hovertemplatefallback=&lt;VALUE&gt;, selector=dict(type='candlestick'))"
44319+
},
4428044320
"xhoverformat": {
4428144321
"description": "Sets the hover text formatting rulefor `x` using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format. And for dates see: https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format. We add two items to d3's date formatter: *%h* for half of the year as a decimal number as well as *%{n}f* for fractional seconds with n digits. For example, *2016-10-13 09:15:23.456* with tickformat *%H~%M~%S.%2f* would display *09~15~23.46*By default the values are formatted using `xaxis.hoverformat`.",
4428244322
"dflt": "",
@@ -44663,7 +44703,7 @@
4466344703
"magic_underscores": "fig.update_traces(hoverlabel_showarrow=&lt;VALUE&gt;, selector=dict(type='candlestick'))"
4466444704
},
4466544705
"split": {
44666-
"description": "Show hover information (open, close, high, low) in separate labels.",
44706+
"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.",
4466744707
"dflt": false,
4466844708
"editType": "style",
4466944709
"valType": "boolean",

_data/pyversion.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "6.4.0"
2+
"version": "6.5.0"
33
}

0 commit comments

Comments
 (0)