src/cm/media/js/lib/yui/yui3-3.15.0/build/series-areaspline/series-areaspline-debug.js
changeset 602 e16a97fb364a
equal deleted inserted replaced
601:d334a616c023 602:e16a97fb364a
       
     1 YUI.add('series-areaspline', function (Y, NAME) {
       
     2 
       
     3 /**
       
     4  * Provides functionality for creating an areaspline series.
       
     5  *
       
     6  * @module charts
       
     7  * @submodule series-areaspline
       
     8  */
       
     9 /**
       
    10  * AreaSplineSeries renders an area graph with data points connected by a curve.
       
    11  *
       
    12  * @class AreaSplineSeries
       
    13  * @extends AreaSeries
       
    14  * @uses CurveUtil
       
    15  * @constructor
       
    16  * @param {Object} config (optional) Configuration parameters.
       
    17  * @submodule series-areaspline
       
    18  */
       
    19 Y.AreaSplineSeries = Y.Base.create("areaSplineSeries", Y.AreaSeries, [Y.CurveUtil], {
       
    20     /**
       
    21      * @protected
       
    22      *
       
    23      * Draws the series.
       
    24      *
       
    25      * @method drawSeries
       
    26      */
       
    27     drawSeries: function()
       
    28     {
       
    29         this.drawAreaSpline();
       
    30     }
       
    31 }, {
       
    32 	ATTRS : {
       
    33         /**
       
    34          * Read-only attribute indicating the type of series.
       
    35          *
       
    36          * @attribute type
       
    37          * @type String
       
    38          * @default areaSpline
       
    39          */
       
    40         type: {
       
    41             value:"areaSpline"
       
    42         }
       
    43 
       
    44         /**
       
    45          * Style properties used for drawing area fills. This attribute is inherited from `Renderer`. Below are the default values:
       
    46          *
       
    47          *  <dl>
       
    48          *      <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
       
    49          *      retrieved from the following array:
       
    50          *      `["#66007f", "#a86f41", "#295454", "#996ab2", "#e8cdb7", "#90bdbd","#000000","#c3b8ca", "#968373", "#678585"]`
       
    51          *      </dd>
       
    52          *      <dt>alpha</dt><dd>Number between 0 and 1 that indicates the opacity of the fill. The default value is 1</dd>
       
    53          *  </dl>
       
    54          *
       
    55          * @attribute styles
       
    56          * @type Object
       
    57          */
       
    58     }
       
    59 });
       
    60 
       
    61 
       
    62 
       
    63 }, '@VERSION@', {"requires": ["series-area", "series-curve-util"]});