Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Generation...
- graph.mChart = new dojox.charting.Chart( document.getElementById( graph.mGraphID ));
- graph.mChart.addPlot( "default", { type: "Areas" });
- graph.mChart.addAxis( "Y",
- {
- vertical: "true",
- min: graph.mMinValue,
- max: graph.mMaxValue
- });
- graph.mChart.addAxis( "X",
- {
- min: timescale,
- max: 0
- });
- graph.mChart.title = graph.mName;
- // Filling with data and rendering...
- graph.mChart.addSeries( "Test", graph.mData );
- graph.mChart.render();
Add Comment
Please, Sign In to add comment