Lines.js 764 B

123456789101112131415161718192021222324
  1. /*
  2. Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
  3. Available via Academic Free License >= 2.1 OR the modified BSD license.
  4. see: http://dojotoolkit.org/license for details
  5. */
  6. if(!dojo._hasResource["dojox.charting.plot2d.Lines"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
  7. dojo._hasResource["dojox.charting.plot2d.Lines"] = true;
  8. dojo.provide("dojox.charting.plot2d.Lines");
  9. dojo.require("dojox.charting.plot2d.Default");
  10. dojo.declare("dojox.charting.plot2d.Lines", dojox.charting.plot2d.Default, {
  11. // summary:
  12. // A convenience constructor to create a typical line chart.
  13. constructor: function(){
  14. // summary:
  15. // Preset our default plot to be line-based.
  16. this.opt.lines = true;
  17. }
  18. });
  19. }