Skip to content

Commit 6455dd1

Browse files
committed
bar: fix hover bar delta
1 parent 5acfb06 commit 6455dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/bar/hover.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
2222
ya = pointData.ya,
2323
barDelta = (hovermode === 'closest') ?
2424
t.barwidth / 2 :
25-
t.bargroupwidth,
25+
t.bargroupwidth / 2,
2626
barPos;
2727

2828
if(hovermode !== 'closest') barPos = function(di) { return di.p; };

0 commit comments

Comments
 (0)