X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Fsteps.html;h=42b73629005fa83b275d71be39247e2f95612228;hb=cc825c7b029920a3753109cc990bedffb2c8f8f0;hp=81dfbd0210c1f03be351128c72ab043fdeabfc29;hpb=342b09856ba5a0a42b04884d8b417be458cc6e20;p=dygraphs.git diff --git a/tests/steps.html b/tests/steps.html index 81dfbd0..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:
+ +