StackedAreaSeries.js revision e393eced613f9b4a5fb6bdd461d0e0bf5064d5ec
Y.StackedAreaSeries = Y.Base.create("stackedAreaSeries", Y.AreaSeries, [Y.StackingUtil], {
setAreaData: function()
{
Y.StackedAreaSeries.superclass.setAreaData.apply(this);
this._stackCoordinates.apply(this);
},
drawSeries: function()
{
this.get("graphic").clear();
this.drawFill.apply(this, this._getStackedClosingPoints());
}
}, {
ATTRS: {
/**
* Indicates the type of graph.
*/
type: {
value:"stackedArea"
}
}
});