We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7a8afa commit dff6181Copy full SHA for dff6181
src/traces/scattergl/convert.js
@@ -135,7 +135,7 @@ proto.handlePick = function(pickResult) {
135
136
// check if trace is fancy
137
proto.isFancy = function(options) {
138
- if(this.scene.xaxis.type !== 'linear') return true;
+ if(this.scene.xaxis.type !== 'linear' && this.scene.xaxis.type !== 'date') return true;
139
if(this.scene.yaxis.type !== 'linear') return true;
140
141
if(!options.x || !options.y) return true;
@@ -279,7 +279,8 @@ proto.updateFast = function(options) {
279
yy = y[i];
280
281
// check for isNaN is faster but doesn't skip over nulls
282
- if(!isNumeric(xx) || !isNumeric(yy)) continue;
+ if(!isNumeric(yy)) continue;
283
+ if(!isNumeric(xx) && !(xx instanceof Date)) continue;
284
285
idToIndex[pId++] = i;
286
0 commit comments