dojox/charting/Series.js

  • Provides:

    • dojox.charting.Series
  • Requires:

    • dojox.charting.Element in common
  • dojox.charting.Series

    • type
      Function
    • chains:
      • dojox.charting.Element: (prototype)
      • dojox.charting.Element: (call)
    • summary
      Create a new data series object for use within charting.
    • parameters:
      • chart: (typeof dojox.charting.Chart2D)
        The chart that this series belongs to.
      • data: (typeof Array|Object)
        The array of data points (either numbers or objects) that
        represents the data to be drawn. Or it can be an object. In
        the latter case, it should have a property "data" (an array),
        destroy(), and setSeriesObject().
      • kwArgs: (typeof dojox.charting.__SeriesCtorArgs)
        An optional keyword arguments object to set details for this series.
    • source: [view]
        dojo.mixin(this, kwArgs);
        if(typeof this.plot != "string"){ this.plot = "default"; }
        this.update(data);
  • dojox.charting.Series.clear

    • type
      Function
    • source: [view]
        this.dyn = {};
    • summary
      Clear the calculated additional parameters set on this series.
  • dojox.charting.Series.update

    • type
      Function
    • parameters:
      • data: (typeof Array|Object)
        The array of data points (either numbers or objects) that
        represents the data to be drawn. Or it can be an object. In
        the latter case, it should have a property "data" (an array),
        destroy(), and setSeriesObject().
    • source: [view]
        if(dojo.isArray(data)){
         this.data = data;
        }else{
         this.source = data;
         this.data = this.source.data;
         if(this.source.setSeriesObject){
          this.source.setSeriesObject(this);
         }
        }
        this.dirty = true;
        this.clear();
    • summary
      Set data and make this object dirty, so it can be redrawn.
  • dojox.charting.Series.dyn

    • summary
  • dojox.charting.Series.data

    • summary
  • dojox.charting.Series.source

    • summary
  • dojox.charting.Series.dirty

    • summary
  • dojox.charting.Series.update.data

    • type
      Array|Object
    • summary
      The array of data points (either numbers or objects) that
      represents the data to be drawn. Or it can be an object. In
      the latter case, it should have a property "data" (an array),
      destroy(), and setSeriesObject().
  • dojox.charting.Series.plot

    • summary
  • dojox.charting.__SeriesCtorArgs

    • type
      Function
    • parameters:
      • plot: (typeof String)
        The plot (by name) that this series belongs to.
    • source: [view]
       this.plot = plot;
    • summary
      An optional arguments object that can be used in the Series constructor.
  • dojox.charting.__SeriesCtorArgs.plot

    • type
      String?
    • summary
      The plot (by name) that this series belongs to.
  • this

    • mixins:
      • kwArgs: (normal)
    • summary
  • dojox.charting

    • type
      Object
    • summary
  • dojox

    • type
      Object
    • summary