src/cm/media/js/lib/yui/yui_3.10.3/build/series-areaspline-stacked/series-areaspline-stacked-debug.js
equal
deleted
inserted
replaced
|
1 /* |
|
2 YUI 3.10.3 (build 2fb5187) |
|
3 Copyright 2013 Yahoo! Inc. All rights reserved. |
|
4 Licensed under the BSD License. |
|
5 http://yuilibrary.com/license/ |
|
6 */ |
|
7 |
|
8 YUI.add('series-areaspline-stacked', function (Y, NAME) { |
|
9 |
|
10 /** |
|
11 * Provides functionality for creating a stacked area spline series. |
|
12 * |
|
13 * @module charts |
|
14 * @submodule series-areaspline-stacked |
|
15 */ |
|
16 /** |
|
17 * StackedAreaSplineSeries creates a stacked area chart with points data points connected by a curve. |
|
18 * |
|
19 * @class StackedAreaSplineSeries |
|
20 * @extends AreaSeries |
|
21 * @uses CurveUtil |
|
22 * @uses StackingUtil |
|
23 * @constructor |
|
24 * @param {Object} config (optional) Configuration parameters. |
|
25 * @submodule series-areaspline-stacked |
|
26 */ |
|
27 Y.StackedAreaSplineSeries = Y.Base.create("stackedAreaSplineSeries", Y.AreaSeries, [Y.CurveUtil, Y.StackingUtil], { |
|
28 /** |
|
29 * @protected |
|
30 * |
|
31 * Draws the series. |
|
32 * |
|
33 * @method drawSeries |
|
34 */ |
|
35 drawSeries: function() |
|
36 { |
|
37 this._stackCoordinates(); |
|
38 this.drawStackedAreaSpline(); |
|
39 } |
|
40 }, { |
|
41 ATTRS : { |
|
42 /** |
|
43 * Read-only attribute indicating the type of series. |
|
44 * |
|
45 * @attribute type |
|
46 * @type String |
|
47 * @default stackedAreaSpline |
|
48 */ |
|
49 type: { |
|
50 value:"stackedAreaSpline" |
|
51 } |
|
52 } |
|
53 }); |
|
54 |
|
55 |
|
56 |
|
57 }, '3.10.3', {"requires": ["series-stacked", "series-areaspline"]}); |