Skip to content

Commit 40d6fa0

Browse files
committed
update hovertemplate description
1 parent 50ca29e commit 40d6fa0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: 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)