X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Fsteps.html;h=42b73629005fa83b275d71be39247e2f95612228;hb=3adf4a6f00d3577b925338891a0b021ebc5ae325;hp=889944bcd651fef040d9f7fcfdeb1945a9c9c1ee;hpb=a2b2c3a13b968bf10c9dbea58683b0f51011b547;p=dygraphs.git diff --git a/tests/steps.html b/tests/steps.html index 889944b..42b7362 100644 --- a/tests/steps.html +++ b/tests/steps.html @@ -1,13 +1,17 @@ +
+1: Simple line chart:
@@ -99,7 +103,7 @@ "2009/12/01,10,10\n" + "2009/12/02,15,11\n" + "2009/12/03,,12\n" + - "2009/12/04,20,13\n" + + "2009/12/04,,13\n" + "2009/12/05,15,\n" + "2009/12/06,18,15\n" + "2009/12/07,12,16\n", @@ -118,7 +122,7 @@ [ new Date("2009/12/01"), 10, 10], [ new Date("2009/12/02"), 15, 11], [ new Date("2009/12/03"), null, 12], - [ new Date("2009/12/04"), 20, 13], + [ new Date("2009/12/04"), null, 13], [ new Date("2009/12/05"), 15, null], [ new Date("2009/12/06"), 18, 15], [ new Date("2009/12/07"), 12, 16] @@ -126,10 +130,29 @@ { labels: ["Date","GapSeries1","GapSeries2"], showRoller: true, - stepPlot: true + stepPlot: true, + GapSeries2: { axis: {} } } ); + +8: Stacked filled step chart:
+ +