NOBUG: Fixed file access permissions
[moodle.git] / lib / yuilib / 3.13.0 / series-spline-stacked / series-spline-stacked-debug.js
blobbc4ffae70468c3875c7ea6ac29f9b4836c51cab0
1 /*
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/
6 */
8 YUI.add('series-spline-stacked', function (Y, NAME) {
10 /**
11  * Provides functionality for creating a stacked spline series.
12  *
13  * @module charts
14  * @submodule series-spline-stacked
15  */
16 /**
17  * StackedSplineSeries creates spline graphs in which the different series are stacked along a value axis
18  * to indicate their contribution to a cumulative total.
19  *
20  * @class StackedSplineSeries
21  * @constructor
22  * @extends SplineSeries
23  * @uses StackingUtil
24  * @param {Object} config (optional) Configuration parameters.
25  * @submodule series-spline-stacked
26  */
27 Y.StackedSplineSeries = Y.Base.create("stackedSplineSeries", Y.SplineSeries, [Y.StackingUtil], {
28     /**
29      * @protected
30      *
31      * Calculates the coordinates for the series. Overrides base implementation.
32      *
33      * @method setAreaData
34      */
35     setAreaData: function()
36     {
37         Y.StackedSplineSeries.superclass.setAreaData.apply(this);
38         this._stackCoordinates.apply(this);
39     }
40 }, {
41     ATTRS: {
42         /**
43          * Read-only attribute indicating the type of series.
44          *
45          * @attribute type
46          * @type String
47          * @default stackedSpline
48          */
49         type: {
50             value:"stackedSpline"
51         }
52     }
53 });
57 }, '3.13.0', {"requires": ["series-stacked", "series-spline"]});