diff --git a/src/XY.js b/src/XY.js index e84b5e7..52133c2 100644 --- a/src/XY.js +++ b/src/XY.js @@ -150,6 +150,7 @@ class XY { .attr('d', (d) => theLine(d.data)) .attr('fill', 'none') .attr('stroke', (d, i) => (this.options.dataColors ? this.options.dataColors[i] : colors[i])) + .attr('stroke-dasharray', (d, i) => (this.options.dataLineDashes ? this.options.dataLineDashes[i] : '')) .attr('filter', this.filter); }