X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fsteps.html;h=4a1145c93d831c68ce6dd2a488e5b7816d9765c7;hb=f160e4ac8166f74d1f0e5604061564fbca5ba5a5;hp=889944bcd651fef040d9f7fcfdeb1945a9c9c1ee;hpb=a2b2c3a13b968bf10c9dbea58683b0f51011b547;p=dygraphs.git diff --git a/tests/steps.html b/tests/steps.html index 889944b..4a1145c 100644 --- a/tests/steps.html +++ b/tests/steps.html @@ -1,13 +1,10 @@ + + dygraph - - - - - + +

1: Simple line chart:

@@ -99,7 +96,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 +115,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 +123,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):

+
+