Skip to content

Commit d64fab6

Browse files
committed
remove TODO that's been OK'd as is
1 parent f84dfae commit d64fab6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/traces/ohlc/hover.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,8 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
101101
// put it all in .extraText
102102
pointData.extraText = textParts.join('<br>');
103103

104-
// this puts the label at the midpoint of the box, ie
104+
// this puts the label *and the spike* at the midpoint of the box, ie
105105
// halfway between open and close, not between high and low.
106-
// TODO: the spike also links to this point, whereas previously
107-
// it linked to close. Is one better?
108106
pointData.y0 = pointData.y1 = ya.c2p(di.yc, true);
109107

110108
return [pointData];

0 commit comments

Comments
 (0)