Commit 3ae7177d authored by Djam Saidmuradov's avatar Djam Saidmuradov

Allow custom stroke color for points.

parent 0594a491
......@@ -483,6 +483,7 @@ Licensed under the MIT license.
lineWidth: 2, // in pixels
fill: true,
fillColor: "#ffffff",
strokeColor: null,
symbol: "circle" // or callback
},
lines: {
......@@ -2357,7 +2358,7 @@ Licensed under the MIT license.
}
ctx.lineWidth = lw;
ctx.strokeStyle = series.color;
ctx.strokeStyle = series.points.strokeColor ? series.points.strokeColor : series.color;
plotPoints(series.datapoints, radius,
getFillStyle(series.points, series.color), 0, false,
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