Chart 2D: dynamics

Plot:
Grid:
X axis:
Y axis:
Series 1:   Randomize
Series 2:   Randomize
Series 3:   Randomize
Series 4:   Randomize
Series 5:   Randomize
Series 6:  this series contains all 0 values
30
20
10
0
11
9
8
7
6
5
4
3
2
1
10
0
Series 1
Series 2
Series 3
Series 4
Series 5
DEPRECATED: dijit.form.CheckBox::attr() is deprecated. Use get() or set() instead, called from function(){ chart = new dojox.charting.Chart2D("test"); chart.setTheme(dojox.charting.themes.CubanShirts); if(dijit.byId("hAxis").attr("checked")){ chart.addAxis("x", {natural: true, includeZero: true, fixUpper: "minor"}); } if(dijit.byId("vAxis").attr("checked")){ chart.addAxis("y", {vertical: true, natural: true, includeZero: true, fixUpper: "minor"}); } chart.addPlot("default", {type: dijit.byId("plot").attr("value"), gap: 2}); if(dijit.byId("grid").attr("checked")){ chart.addPlot("grid", {type: "Grid", hMinorLines: true, vMinorLines: true}); } for(var i = 1; i <= 5; ++i){ if(dijit.byId("s" + i).attr("checked")){ chart.addSeries("Series " + i, getData(), {stroke: {color: "black", width: 1}}); } } if(dijit.byId("s6").attr("checked")){ chart.addSeries("Series 6", getZeroes(), {stroke: {color: "black", width: 1}}); } chart.render(); legend = new dojox.charting.widget.Legend({chart: chart}, "legend"); } -- will be removed in version: 2.0
99.9