From 0c30f6cbf8f5f3a03518232e9e2b8c0da64643d3 Mon Sep 17 00:00:00 2001 From: Thomas-git Date: Tue, 18 Dec 2012 18:52:25 +1100 Subject: [PATCH] Update curvedLines.js --- curvedLines.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/curvedLines.js b/curvedLines.js index f672d73..67453c8 100644 --- a/curvedLines.js +++ b/curvedLines.js @@ -159,6 +159,9 @@ _____________________________________________________ newSerie.lines=$.extend({},series.lines); newSerie.lines.fill=undefined; newSerie.label=undefined; + newSerie.datapoints={};//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; //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();