X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fsteps.html;h=71de53c389f870ef2484684ec8293757fb7abf6e;hb=2a1f00d810b5c4f04b72bc6a393380b858f70909;hp=81dfbd0210c1f03be351128c72ab043fdeabfc29;hpb=342b09856ba5a0a42b04884d8b417be458cc6e20;p=dygraphs.git diff --git a/tests/steps.html b/tests/steps.html index 81dfbd0..71de53c 100644 --- a/tests/steps.html +++ b/tests/steps.html @@ -1,13 +1,13 @@ + dygraph - - - - - + + +

1: Simple line chart:

@@ -99,7 +99,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 +118,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 +126,145 @@ { labels: ["Date","GapSeries1","GapSeries2"], showRoller: true, - stepPlot: true + stepPlot: true, + series: { + GapSeries2: { + axis: 'y2' + } + } } ); + +

8: Stacked filled step chart:

+
+ + +

9: Mixed mode - step and line:

+
+ + + +

10: Mixed mode - step and line (filled):

+
+ + +

11: Mixed mode - step and line (stacked and filled):

+
+ + +

12: Mixed mode - step and line (errorbars):

+
+ + +

13: Mixed mode - step and line (custombars):

+
+