From 19c9c958e5e898d3466de09037b061bd4b0a80ec Mon Sep 17 00:00:00 2001 From: Thomas Ritou Date: Tue, 1 Jan 2013 18:38:48 +1100 Subject: [PATCH] Fix curvedLines.apply options scheme Prevent calculateCurvePoints from being called twice when filling & drawing line --- curvedLines.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curvedLines.js b/curvedLines.js index 0c888e2..3f325ca 100644 --- a/curvedLines.js +++ b/curvedLines.js @@ -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();