X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fstep_plot_per_series.js;h=9d278a268cab8785404ce21007877898db8605f8;hb=bfb3e0a44ba7eb76704389cd1515db9995944d41;hp=236456174f0fef9f52864cb23abbdaccfcb44b43;hpb=20b87d28f1c0e4c71bd1f5254d66ad88c0fa6c28;p=dygraphs.git diff --git a/auto_tests/tests/step_plot_per_series.js b/auto_tests/tests/step_plot_per_series.js index 2364561..9d278a2 100644 --- a/auto_tests/tests/step_plot_per_series.js +++ b/auto_tests/tests/step_plot_per_series.js @@ -31,10 +31,16 @@ StepTestCase.prototype.testMixedModeStepAndLineFilled = function() { var opts = { width: 480, height: 320, - drawXGrid: false, - drawYGrid: false, - drawXAxis: false, - drawYAxis: false, + axes : { + x : { + drawGrid: false, + drawAxis: false, + }, + y : { + drawGrid: false, + drawAxis: false, + } + }, errorBars: false, labels: ["X", "Idle", "Used"], series: { @@ -94,10 +100,16 @@ StepTestCase.prototype.testMixedModeStepAndLineStackedAndFilled = function() { var opts = { width: 480, height: 320, - drawXGrid: false, - drawYGrid: false, - drawXAxis: false, - drawYAxis: false, + axes : { + x : { + drawGrid: false, + drawAxis: false, + }, + y : { + drawGrid: false, + drawAxis: false, + } + }, errorBars: false, labels: ["X", "Idle", "Used", "NotUsed", "Active"], series: { @@ -243,10 +255,16 @@ StepTestCase.prototype.testMixedModeStepAndLineErrorBars = function() { var opts = { width: 480, height: 320, - drawXGrid: false, - drawYGrid: false, - drawXAxis: false, - drawYAxis: false, + axes : { + x : { + drawGrid: false, + drawAxis: false, + }, + y : { + drawGrid: false, + drawAxis: false, + } + }, errorBars: true, sigma: 1, labels: ["X", "Data1", "Data2"], @@ -336,10 +354,16 @@ StepTestCase.prototype.testMixedModeStepAndLineCustomBars = function() { var opts = { width: 480, height: 320, - drawXGrid: false, - drawYGrid: false, - drawXAxis: false, - drawYAxis: false, + axes : { + x : { + drawGrid: false, + drawAxis: false, + }, + y : { + drawGrid: false, + drawAxis: false, + } + }, customBars: true, labels: ["X", "Data1", "Data2"], series: {