src/cm/media/js/lib/yui/yui_3.10.3/build/series-line-stacked/series-line-stacked.js
changeset 525 89ef5ed3c48b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cm/media/js/lib/yui/yui_3.10.3/build/series-line-stacked/series-line-stacked.js	Tue Jul 16 14:29:46 2013 +0200
@@ -0,0 +1,56 @@
+/*
+YUI 3.10.3 (build 2fb5187)
+Copyright 2013 Yahoo! Inc. All rights reserved.
+Licensed under the BSD License.
+http://yuilibrary.com/license/
+*/
+
+YUI.add('series-line-stacked', function (Y, NAME) {
+
+/**
+ * Provides functionality for creatiing a stacked line series.
+ *
+ * @module charts
+ * @submodule series-line-stacked
+ */
+/**
+ * StackedLineSeries creates line graphs in which the different series are stacked along a value axis
+ * to indicate their contribution to a cumulative total.
+ *
+ * @class StackedLineSeries
+ * @constructor
+ * @extends  LineSeries
+ * @uses StackingUtil
+ * @param {Object} config (optional) Configuration parameters.
+ * @submodule series-line-stacked
+ */
+Y.StackedLineSeries = Y.Base.create("stackedLineSeries", Y.LineSeries, [Y.StackingUtil], {
+    /**
+     * @protected
+     *
+     * Calculates the coordinates for the series. Overrides base implementation.
+     *
+     * @method setAreaData
+     */
+    setAreaData: function()
+    {
+        Y.StackedLineSeries.superclass.setAreaData.apply(this);
+        this._stackCoordinates.apply(this);
+    }
+}, {
+    ATTRS: {
+        /**
+         * Read-only attribute indicating the type of series.
+         *
+         * @attribute type
+         * @type String
+         * @default stackedLine
+         */
+        type: {
+            value:"stackedLine"
+        }
+    }
+});
+
+
+}, '3.10.3', {"requires": ["series-stacked", "series-line"]});