~ubuntu-branches/ubuntu/utopic/moodle/utopic

« back to all changes in this revision

Viewing changes to lib/yuilib/3.9.1/build/series-line-stacked/series-line-stacked-debug.js

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2014-05-12 16:10:38 UTC
  • mfrom: (36.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140512161038-puyqf65k4e0s8ytz
Tags: 2.6.3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* YUI 3.9.1 (build 5852) Copyright 2013 Yahoo! Inc. http://yuilibrary.com/license/ */
2
 
YUI.add('series-line-stacked', function (Y, NAME) {
3
 
 
4
 
/**
5
 
 * Provides functionality for creatiing a stacked line series.
6
 
 *
7
 
 * @module charts
8
 
 * @submodule series-line-stacked
9
 
 */
10
 
/**
11
 
 * StackedLineSeries creates line graphs in which the different series are stacked along a value axis
12
 
 * to indicate their contribution to a cumulative total.
13
 
 *
14
 
 * @class StackedLineSeries
15
 
 * @constructor
16
 
 * @extends  LineSeries
17
 
 * @uses StackingUtil
18
 
 * @param {Object} config (optional) Configuration parameters.
19
 
 * @submodule series-line-stacked
20
 
 */
21
 
Y.StackedLineSeries = Y.Base.create("stackedLineSeries", Y.LineSeries, [Y.StackingUtil], {
22
 
    /**
23
 
     * @protected
24
 
     *
25
 
     * Calculates the coordinates for the series. Overrides base implementation.
26
 
     *
27
 
     * @method setAreaData
28
 
     */
29
 
    setAreaData: function()
30
 
    {
31
 
        Y.StackedLineSeries.superclass.setAreaData.apply(this);
32
 
        this._stackCoordinates.apply(this);
33
 
    }
34
 
}, {
35
 
    ATTRS: {
36
 
        /**
37
 
         * Read-only attribute indicating the type of series.
38
 
         *
39
 
         * @attribute type
40
 
         * @type String
41
 
         * @default stackedLine
42
 
         */
43
 
        type: {
44
 
            value:"stackedLine"
45
 
        }
46
 
    }
47
 
});
48
 
 
49
 
 
50
 
}, '3.9.1', {"requires": ["series-stacked", "series-line"]});