Skip to content

Commit b4abfb2

Browse files
committed
Fix scattergl line dash lengths
1 parent f3ce630 commit b4abfb2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/traces/scattergl/convert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function convertStyle(gd, trace) {
7373

7474
var dashes = (constants.DASHES[trace.line.dash] || [1]).slice();
7575
for(i = 0; i < dashes.length; ++i) {
76-
dashes[i] *= trace.line.width;
76+
dashes[i] *= trace.line.width * plotGlPixelRatio;
7777
}
7878
opts.line.dashes = dashes;
7979
}
2.36 KB
Loading

0 commit comments

Comments
 (0)