Skip to content

Commit 196153e

Browse files
authored
Merge pull request #3265 from plotly/3264-hovertemplate-description
update hovertemplate description
2 parents 50ca29e + 40d6fa0 commit 196153e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/fx/hovertemplate_attributes.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ module.exports = function(opts, extra) {
4141
'See https://github.com/d3/d3-format/blob/master/README.md#locale_format for details on the formatting syntax.',
4242
'The variables available in `hovertemplate` are the ones emitted as event data described at this link https://plot.ly/javascript/plotlyjs-events/#event-data.',
4343
'Additionally, every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.',
44-
descPart
44+
descPart,
45+
'Anything contained in tag `<extra>` is displayed in the secondary box, for example "<extra>{fullData.name}</extra>".'
4546
].join(' ')
4647
};
4748

0 commit comments

Comments
 (0)