Yahoo! UI Library

charts  3.3.0

Yahoo! UI Library > charts > StackedComboSeries
Search:
 
Filters

Class StackedComboSeries - extends ComboSeries - uses StackingUtil

Known Subclasses:
StackedComboSplineSeries
The StackedComboSeries class renders a combination of lines, plots and area fills in a single series. Series are stacked along the value axis to indicate each series contribution to a cumulative total. Each series type has a corresponding boolean attribute indicating if it is rendered. By default, all three types are rendered.

Constructor

StackedComboSeries ( )

Properties inherited from Plugin.Host:

Properties inherited from Fills:

Properties inherited from Attribute:

Properties inherited from Lines:

Properties inherited from Base:

Properties inherited from Renderer:

Methods

drawSeries

protected void drawSeries ( )
Draws the series.

setAreaData

protected void setAreaData ( )
Calculates the coordinates for the series. Overrides base implementation.

Methods inherited from StackingUtil:

Methods inherited from ComboSeries:

Events

showAreaFillChange

showAreaFillChange ( event )
Fires when the value for the configuration attribute 'showAreaFill' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.
Parameters:
event <Event.Facade> An Event Facade object with the following attribute specific properties added:
prevVal
The value of the attribute, prior to it being set
newVal
The value the attribute is to be set to
attrName
The name of the attribute being set
subAttrName
If setting a property within the attribute's value, the name of the sub-attribute property being set

typeChange

typeChange ( event )
Fires when the value for the configuration attribute 'type' is changed. You can listen for the event using the on method if you wish to be notified before the attribute's value has changed, or using the after method if you wish to be notified after the attribute's value has changed.
Parameters:
event <Event.Facade> An Event Facade object with the following attribute specific properties added:
prevVal
The value of the attribute, prior to it being set
newVal
The value the attribute is to be set to
attrName
The name of the attribute being set
subAttrName
If setting a property within the attribute's value, the name of the sub-attribute property being set

Configuration Attributes

showAreaFill - Boolean

Indicates whether a fill is displayed.
Default Value: true

type - String

Read-only attribute indicating the type of series.
Default Value: stackedCombo


Copyright © 2011 Yahoo! Inc. All rights reserved.