# Yahoo! UI Library

### charts 3.3.0

Yahoo! UI Library > charts > StackedAreaSplineSeries.js (source view)
Search:
Filters Show Private Show Protected Show Deprecated

    /**
     * StackedAreaSplineSeries creates a stacked area chart with points data points connected by a curve.
     *
     * @class StackedAreaSplineSeries
     * @constructor
     * @extends AreaSeries
     * @uses CurveUtil
     * @uses StackingUtil
     */
    Y.StackedAreaSplineSeries = Y.Base.create("stackedAreaSplineSeries", Y.AreaSeries, [Y.CurveUtil, Y.StackingUtil], {
        /**
         * @protected
         *
         * Draws the series.
         *
         * @method drawSeries
         */
        drawSeries: function()
        {
            this.get("graphic").clear();
            this._stackCoordinates();
            this.drawStackedAreaSpline();
        }
    }, {
        ATTRS : {
            /**
             * Read-only attribute indicating the type of series.
             *
             * @attribute type
             * @type String
             * @default stackedAreaSpline
             */
            type: {
                value:"stackedAreaSpline"
            }
        }
    });

Copyright © 2011 Yahoo! Inc. All rights reserved.