Allow custom stroke color for points.

pull/1/head
Djam Saidmuradov 13 years ago
parent 0594a49158
commit 3ae7177d0c

@ -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);

Loading…
Cancel
Save