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.
1 parent 84ca51f commit 3e32b23Copy full SHA for 3e32b23
src/components/drawing/index.js
@@ -581,11 +581,14 @@ drawing.selectedPointStyle = function(s, trace) {
581
});
582
}
583
584
- s.each(function(d) {
585
- for(var i = 0; i < seq.length; i++) {
586
- seq[i](d3.select(this), d);
587
- }
588
- });
+ if(seq.length) {
+ s.each(function(d) {
+ var pt = d3.select(this);
+ for(var i = 0; i < seq.length; i++) {
+ seq[i](pt, d);
589
+ }
590
+ });
591
592
};
593
594
drawing.tryColorscale = function(marker, prefix) {
0 commit comments