Skip to content

Commit 55157e5

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/scattergl/convert.js

+1-1
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)