Skip to content

Commit 0df71bb

Browse files
committed
Hide marker line for blank points in scatter plots
- Prevent marker line borders from rendering on blank data points by setting line width to 0 when `d.isBlank` is true in the `singlePointStyle()` function - Add `dash` and `dashsrc` schema attributes for marker line styling across multiple chart types to support customisable dash patterns - Ensure blank points appear correctly without visible outlines while maintaining proper styling for non-blank markers
1 parent d838891 commit 0df71bb

2 files changed

Lines changed: 296 additions & 1 deletion

File tree

src/components/drawing/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ drawing.singlePointStyle = function (d, sel, trace, fns, gd, pt) {
10601060

10611061
if (lineWidth) {
10621062
Color.stroke(sel, lineColor);
1063-
drawing.dashLine(sel, lineDash, lineWidth);
1063+
drawing.dashLine(sel, lineDash, d.isBlank ? 0 : lineWidth);
10641064
}
10651065
}
10661066
};

0 commit comments

Comments
 (0)