Commit e4fed0af authored by Michael's avatar Michael

Merge pull request #5 from roam/patch-1

Define fill
parents bef80155 b0eb3ac6
...@@ -121,6 +121,7 @@ ...@@ -121,6 +121,7 @@
ctx.lineJoin = "round"; ctx.lineJoin = "round";
ctx.strokeStyle = series.color; ctx.strokeStyle = series.color;
if (series.curvedLines.fill) { if (series.curvedLines.fill) {
var fill = series.curvedLines.fill;
var fillColor = series.curvedLines.fillColor == null ? series.color : series.curvedLines.fillColor; var fillColor = series.curvedLines.fillColor == null ? series.color : series.curvedLines.fillColor;
var c = $.color.parse(fillColor); var c = $.color.parse(fillColor);
c.a = typeof fill == "number" ? fill : 0.4; c.a = typeof fill == "number" ? fill : 0.4;
......
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