|
43478 | 43478 | "editType": "none", |
43479 | 43479 | "valType": "string" |
43480 | 43480 | }, |
| 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=<VALUE>, 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=<VALUE>, selector=dict(type='ohlc'))" |
| 43500 | + }, |
43481 | 43501 | "xhoverformat": { |
43482 | 43502 | "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`.", |
43483 | 43503 | "dflt": "", |
|
43888 | 43908 | "magic_underscores": "fig.update_traces(hoverlabel_showarrow=<VALUE>, selector=dict(type='ohlc'))" |
43889 | 43909 | }, |
43890 | 43910 | "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.", |
43892 | 43912 | "dflt": false, |
43893 | 43913 | "editType": "style", |
43894 | 43914 | "valType": "boolean", |
|
44277 | 44297 | "editType": "none", |
44278 | 44298 | "valType": "string" |
44279 | 44299 | }, |
| 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=<VALUE>, 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=<VALUE>, selector=dict(type='candlestick'))" |
| 44319 | + }, |
44280 | 44320 | "xhoverformat": { |
44281 | 44321 | "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`.", |
44282 | 44322 | "dflt": "", |
|
44663 | 44703 | "magic_underscores": "fig.update_traces(hoverlabel_showarrow=<VALUE>, selector=dict(type='candlestick'))" |
44664 | 44704 | }, |
44665 | 44705 | "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.", |
44667 | 44707 | "dflt": false, |
44668 | 44708 | "editType": "style", |
44669 | 44709 | "valType": "boolean", |
|
0 commit comments