We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e70d3b + 6cc5eae commit cb9e329Copy full SHA for cb9e329
src/traces/scattergl/convert.js
@@ -401,7 +401,7 @@ proto.updateFast = function(options) {
401
this.idToIndex = idToIndex;
402
403
// form selected set
404
- if(selection) {
+ if(selection && selection.length) {
405
selPositions = new Float64Array(2 * selection.length);
406
407
for(i = 0, l = selection.length; i < l; i++) {
@@ -559,7 +559,7 @@ proto.updateFancy = function(options) {
559
560
var sizes, selIds;
561
562
563
selIds = {};
564
for(i = 0; i < selection.length; i++) {
565
selIds[selection[i].pointNumber] = true;
0 commit comments