X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fplotters.html;h=5bbbf15067b36983861c2161ba32bd769db9a41a;hb=406eddbbdea074df010fc3c432185bc78f9a5814;hp=104ab78092e74a02eea459ede2ec8b55202c4ec1;hpb=eec4fd0cb7dfc4dc661f00fca0c5ede94e8512a7;p=dygraphs.git diff --git a/tests/plotters.html b/tests/plotters.html index 104ab78..5bbbf15 100644 --- a/tests/plotters.html +++ b/tests/plotters.html @@ -246,11 +246,13 @@ var candleData = "Date,Open,Close,High,Low\n" + { labels: ['Date', 'A', 'B'], includeZero: true, - "A": { - strokeWidth: 2 - }, - "B": { - plotter: barChartPlotter + series: { + "A": { + strokeWidth: 2 + }, + "B": { + plotter: barChartPlotter + } } }); @@ -314,12 +316,14 @@ var candleData = "Date,Open,Close,High,Low\n" + NoisyData(), { errorBars: true, - 'A': { - plotter: Dygraph.Plotters.errorPlotter - }, - 'B': { - plotter: Dygraph.Plotters.linePlotter, - strokePattern: Dygraph.DASHED_LINE + series: { + 'A': { + plotter: Dygraph.Plotters.errorPlotter + }, + 'B': { + plotter: Dygraph.Plotters.linePlotter, + strokePattern: Dygraph.DASHED_LINE + } } });