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 476818c commit 83578c8Copy full SHA for 83578c8
src/traces/scattergl/convert.js
@@ -486,10 +486,9 @@ proto.updateLines = function(options, positions) {
486
}
487
this.lineOptions.positions = linePositions;
488
489
- var lineColor = str2RGBArray(options.line.color);
490
- if(this.hasMarkers) lineColor[3] *= options.marker.opacity;
491
492
- var lineWidth = Math.round(0.5 * this.lineOptions.width),
+ var lineColor = convertColor(options.line.color, options.opacity, 1),
+ lineWidth = Math.round(0.5 * this.lineOptions.width),
493
dashes = (DASHES[options.line.dash] || [1]).slice();
494
495
for(i = 0; i < dashes.length; ++i) dashes[i] *= lineWidth;
0 commit comments