We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70befe3 commit b6822e8Copy full SHA for b6822e8
1 file changed
src/traces/histogram/attributes.js
@@ -9,6 +9,7 @@
9
'use strict';
10
11
var barAttrs = require('../bar/attributes');
12
+var hovertemplateAttrs = require('../../components/fx/hovertemplate_attributes');
13
var makeBinAttrs = require('./bin_attributes');
14
15
module.exports = {
@@ -185,7 +186,9 @@ module.exports = {
185
186
].join(' ')
187
},
188
- hovertemplate: barAttrs.hovertemplate,
189
+ hovertemplate: hovertemplateAttrs({}, {
190
+ keys: ['binNumber']
191
+ }),
192
193
marker: barAttrs.marker,
194
0 commit comments