Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita49f495

Browse files
authored
Merge pull request#5421 from plotly/update-plotlyjs-3.3.0
update plotly.js to v3.3.0
2 parents22b0ac0 +f687526 commita49f495

File tree

17 files changed

+5774
-5112
lines changed

17 files changed

+5774
-5112
lines changed

‎codegen/resources/plot-schema.json‎

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22186,12 +22186,30 @@
2218622186
"valType": "boolean"
2218722187
},
2218822188
"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.",
2219022190
"dflt": false,
2219122191
"editType": "style",
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`.",
@@ -52888,12 +52906,30 @@
5288852906
"valType": "boolean"
5288952907
},
5289052908
"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.",
5289252910
"dflt": false,
5289352911
"editType": "style",
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)

[8]ページ先頭

©2009-2025 Movatter.jp