2 YUI 3.13.0 (build 508226d)
3 Copyright 2013 Yahoo! Inc. All rights reserved.
4 Licensed under the BSD License.
5 http://yuilibrary.com/license/
8 YUI.add('series-area-stacked', function (Y, NAME) {
11 * Provides functionality for creating a stacked area series.
14 * @submodule series-area-stacked
17 * StackedAreaSeries area fills to display data showing its contribution to a whole.
19 * @class StackedAreaSeries
23 * @param {Object} config (optional) Configuration parameters.
24 * @submodule series-area-stacked
26 Y.StackedAreaSeries = Y.Base.create("stackedAreaSeries", Y.AreaSeries, [Y.StackingUtil], {
30 * Calculates the coordinates for the series. Overrides base implementation.
34 setAreaData: function()
36 Y.StackedAreaSeries.superclass.setAreaData.apply(this);
37 this._stackCoordinates.apply(this);
47 drawSeries: function()
49 this.drawFill.apply(this, this._getStackedClosingPoints());
54 * Read-only attribute indicating the type of series.
58 * @default stackedArea
67 }, '3.13.0', {"requires": ["series-stacked", "series-area"]});