Update curvedLines.js

pull/4/head
Thomas-git 13 years ago
parent cf5eb584f3
commit 0c30f6cbf8

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

Loading…
Cancel
Save