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/
8 YUI.add('series-areaspline', function (Y, NAME) {
11 * Provides functionality for creating an areaspline series.
14 * @submodule series-areaspline
17 * AreaSplineSeries renders an area graph with data points connected by a curve.
19 * @class AreaSplineSeries
23 * @param {Object} config (optional) Configuration parameters.
24 * @submodule series-areaspline
26 Y.AreaSplineSeries = Y.Base.create("areaSplineSeries", Y.AreaSeries, [Y.CurveUtil], {
34 drawSeries: function()
36 this.drawAreaSpline();
41 * Read-only attribute indicating the type of series.
52 * Style properties used for drawing area fills. This attribute is inherited from `Renderer`. Below are the default values:
55 * <dt>color</dt><dd>The color of the fill. The default value is determined by the order of the series on the graph. The color will be
56 * retrieved from the following array:
57 * `["#66007f", "#a86f41", "#295454", "#996ab2", "#e8cdb7", "#90bdbd","#000000","#c3b8ca", "#968373", "#678585"]`
59 * <dt>alpha</dt><dd>Number between 0 and 1 that indicates the opacity of the fill. The default value is 1</dd>
70 }, '3.13.0', {"requires": ["series-area", "series-curve-util"]});