Commit 89ad2980 authored by David Schnur's avatar David Schnur

Replace ternary with a simpler or statement.

parent b4258846
...@@ -2381,7 +2381,7 @@ Licensed under the MIT license. ...@@ -2381,7 +2381,7 @@ Licensed under the MIT license.
} }
ctx.lineWidth = lw; ctx.lineWidth = lw;
ctx.strokeStyle = series.points.strokeColor ? series.points.strokeColor : series.color; ctx.strokeStyle = 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