Skip to content

Commit a23756d

Browse files
committed
Admit date X axes for fast (non-fancy) scattergl hover tooltip too
1 parent fac70b2 commit a23756d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/scattergl/convert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ proto.handlePick = function(pickResult) {
118118
trace: this,
119119
dataCoord: pickResult.dataCoord,
120120
traceCoord: [
121-
this.pickXData[index],
121+
Number(this.pickXData[index]), // non-fancy scattergl has Dates
122122
this.pickYData[index]
123123
],
124124
textLabel: Array.isArray(this.textLabels) ?

0 commit comments

Comments
 (0)