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 945325f commit 9d72d44Copy full SHA for 9d72d44
src/traces/scatter/select.js
@@ -27,7 +27,8 @@ module.exports = function selectPoints(searchInfo, polygon) {
27
y;
28
29
// TODO: include lines? that would require per-segment line properties
30
- if(!subtypes.hasMarkers(trace) && ! subtypes.hasText(trace)) return;
+ var hasOnlyLines = (subtypes.hasMarkers(trace) && subtypes.hasText(trace));
31
+ if(trace.visible !== true || hasOnlyLines) return;
32
33
var opacity = Array.isArray(marker.opacity) ? 1 : marker.opacity;
34
0 commit comments