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();