Commit b4258846 authored by David Schnur's avatar David Schnur

Merge pull request #1003 from djamshed/pointsStrokeColor

parents 8722a99d 3ae7177d
...@@ -485,6 +485,7 @@ Licensed under the MIT license. ...@@ -485,6 +485,7 @@ Licensed under the MIT license.
lineWidth: 2, // in pixels lineWidth: 2, // in pixels
fill: true, fill: true,
fillColor: "#ffffff", fillColor: "#ffffff",
strokeColor: null,
symbol: "circle" // or callback symbol: "circle" // or callback
}, },
lines: { lines: {
...@@ -2380,7 +2381,7 @@ Licensed under the MIT license. ...@@ -2380,7 +2381,7 @@ Licensed under the MIT license.
} }
ctx.lineWidth = lw; ctx.lineWidth = lw;
ctx.strokeStyle = series.color; ctx.strokeStyle = series.points.strokeColor ? series.points.strokeColor : series.color;
plotPoints(series.datapoints, radius, plotPoints(series.datapoints, radius,
getFillStyle(series.points, series.color), 0, false, getFillStyle(series.points, series.color), 0, false,
series.xaxis, series.yaxis, symbol); series.xaxis, series.yaxis, symbol);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment