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 1c5f325 commit d0203c8Copy full SHA for d0203c8
src/traces/scatter/index.js
@@ -865,14 +865,15 @@ scatter.selectPoints = function(searchInfo, polygon) {
865
xa = searchInfo.xaxis,
866
ya = searchInfo.yaxis,
867
selection = [],
868
- curveNumber = cd[0].trace.index,
869
- marker = cd[0].trace.marker,
+ trace = cd[0].trace,
+ curveNumber = trace.index,
870
+ marker = trace.marker,
871
i,
872
di,
873
x,
874
y;
875
- if(!marker) return; // TODO: include text and/or lines?
876
+ if(!scatter.hasMarkers(trace)) return; // TODO: include text and/or lines?
877
878
var opacity = Array.isArray(marker.opacity) ? 1 : marker.opacity;
879
0 commit comments