File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ proto.handlePick = function(pickResult) {
135
135
136
136
// check if trace is fancy
137
137
proto . isFancy = function ( options ) {
138
- if ( this . scene . xaxis . type !== 'linear' ) return true ;
138
+ if ( this . scene . xaxis . type !== 'linear' && this . scene . xaxis . type !== 'date' ) return true ;
139
139
if ( this . scene . yaxis . type !== 'linear' ) return true ;
140
140
141
141
if ( ! options . x || ! options . y ) return true ;
@@ -279,7 +279,8 @@ proto.updateFast = function(options) {
279
279
yy = y [ i ] ;
280
280
281
281
// check for isNaN is faster but doesn't skip over nulls
282
- if ( ! isNumeric ( xx ) || ! isNumeric ( yy ) ) continue ;
282
+ if ( ! isNumeric ( yy ) ) continue ;
283
+ if ( ! isNumeric ( xx ) && ! ( xx instanceof Date ) ) continue ;
283
284
284
285
idToIndex [ pId ++ ] = i ;
285
286
You can’t perform that action at this time.
0 commit comments