API Docs for: 3.8.0
Show:

File: charts/js/StackedSplineSeries.js

  1. /**
  2.  * StackedSplineSeries creates spline graphs in which the different series are stacked along a value axis
  3.  * to indicate their contribution to a cumulative total.
  4.  *
  5.  * @module charts
  6.  * @submodule charts-base
  7.  * @class StackedSplineSeries
  8.  * @constructor
  9.  * @extends SplineSeries
  10.  * @extends StackingUtil
  11.  */
  12. Y.StackedSplineSeries = Y.Base.create("stackedSplineSeries", Y.SplineSeries, [Y.StackingUtil], {
  13.     /**
  14.      * @protected
  15.      *
  16.      * Calculates the coordinates for the series. Overrides base implementation.
  17.      *
  18.      * @method setAreaData
  19.      */
  20.     setAreaData: function()
  21.     {
  22.         Y.StackedSplineSeries.superclass.setAreaData.apply(this);
  23.         this._stackCoordinates.apply(this);
  24.     }
  25. }, {
  26.     ATTRS: {
  27.         /**
  28.          * Read-only attribute indicating the type of series.
  29.          *
  30.          * @attribute type
  31.          * @type String
  32.          * @default stackedSpline
  33.          */
  34.         type: {
  35.             value:"stackedSpline"
  36.         }
  37.     }
  38. });


  39.