Guest User

Untitled

a guest
Dec 11th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Generation...
  2. graph.mChart = new dojox.charting.Chart( document.getElementById( graph.mGraphID ));
  3. graph.mChart.addPlot( "default", { type: "Areas" });
  4. graph.mChart.addAxis( "Y",
  5. {
  6.     vertical:   "true",
  7.     min:        graph.mMinValue,
  8.     max:        graph.mMaxValue
  9. });
  10. graph.mChart.addAxis( "X",
  11. {
  12.     min:        timescale,
  13.     max:        0
  14. });
  15. graph.mChart.title = graph.mName;
  16.  
  17. // Filling with data and rendering...
  18. graph.mChart.addSeries( "Test", graph.mData );
  19. graph.mChart.render();
Add Comment
Please, Sign In to add comment