diff -r d334a616c023 -r e16a97fb364a src/cm/media/js/lib/yui/yui3-3.15.0/build/series-spline-stacked/series-spline-stacked.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui3-3.15.0/build/series-spline-stacked/series-spline-stacked.js Mon Mar 10 15:19:48 2014 +0100 @@ -0,0 +1,50 @@ +YUI.add('series-spline-stacked', function (Y, NAME) { + +/** + * Provides functionality for creating a stacked spline series. + * + * @module charts + * @submodule series-spline-stacked + */ +/** + * StackedSplineSeries creates spline graphs in which the different series are stacked along a value axis + * to indicate their contribution to a cumulative total. + * + * @class StackedSplineSeries + * @constructor + * @extends SplineSeries + * @uses StackingUtil + * @param {Object} config (optional) Configuration parameters. + * @submodule series-spline-stacked + */ +Y.StackedSplineSeries = Y.Base.create("stackedSplineSeries", Y.SplineSeries, [Y.StackingUtil], { + /** + * @protected + * + * Calculates the coordinates for the series. Overrides base implementation. + * + * @method setAreaData + */ + setAreaData: function() + { + Y.StackedSplineSeries.superclass.setAreaData.apply(this); + this._stackCoordinates.apply(this); + } +}, { + ATTRS: { + /** + * Read-only attribute indicating the type of series. + * + * @attribute type + * @type String + * @default stackedSpline + */ + type: { + value:"stackedSpline" + } + } +}); + + + +}, '@VERSION@', {"requires": ["series-stacked", "series-spline"]});