Commit 19c9c958 authored by Thomas Ritou's avatar Thomas Ritou

Fix curvedLines.apply options scheme

Prevent calculateCurvePoints from being called twice when filling & drawing line
parent 79a6780f
......@@ -161,7 +161,7 @@
//Redefine datapoints to top only (else it can have null values which will open the cruve !)
newSerie.datapoints.points = pointsTop;
newSerie.datapoints.pointsize = 2;
newSerie.lines.curved = false;
newSerie.curvedLines.apply = false;
//Don't redo curve point calculation as datapoint is copied to this new serie
//We find our series to add the line just after the fill (so other series you wanted above this one will still be)
var allSeries = plot.getData();
......
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