# Yahoo! UI Library

### Charts Widget 2.8.1

Yahoo! UI Library > charts > YAHOO.widget.StackedBarChart
Search:
Filters Show Private Show Protected Show Deprecated

## Class YAHOO.widget.StackedBarChart - uses YAHOO.widget.CartesianChart

StackedBarChart class for the YUI Charts widget.

### Constructor

YAHOO.widget.StackedBarChart `( containerId , dataSource , attributes )`

Parameters:
  `containerId <HTMLElement>` Container element for the Flash Player instance.
  `dataSource <YAHOO.util.DataSource>` DataSource instance.
  `attributes <object>` (optional) Object literal of configuration values.

#### Properties inherited from YAHOO.widget.Chart:

`_attributes, _containerID, _dataSource, _dataTipFunction, _id, _initialized, _legendLabelFunction, _pollingID, _pollingInterval, _request, _seriesDefs, _seriesFunctions, _swf, _swfEmbed, _swfURL, _type`

#### Properties inherited from YAHOO.util.AttributeProvider:

`_configs`

#### Properties inherited from YAHOO.widget.CartesianChart:

`_xAxisLabelFunctions, _yAxisLabelFunctions`

#### Properties inherited from YAHOO.util.EventProvider:

`__yui_events, __yui_subscribers`

#### Methods inherited from YAHOO.widget.Chart:

`_eventHandler, _getAltText, _getCategoryNames, _getDataSource, _getPolling, _getRequest, _getSeriesDefs, _getSWFURL, _initAttributes, _loadDataHandler, _loadHandler, _setAltText, _setCategoryNames, _setDataSource, _setDataTipFunction, _setLegendLabelFunction, _setPolling, _setRequest, _setSeriesDefs, refreshData, setSeriesStyles, setStyle, setStyles, toString`

#### Methods inherited from YAHOO.util.AttributeProvider:

`configureAttribute, fireBeforeChangeEvent, fireChangeEvent, get, getAttributeConfig, getAttributeKeys, refresh, register, resetAttributeConfig, resetValue, set, setAttributeConfig, setAttributes`

#### Methods inherited from YAHOO.widget.CartesianChart:

`_getClonedAxis, _getXField, _getYField, _initAttributes, _removeAxisFunctions, _setConstrainViewport, _setXAxes, _setXAxis, _setXField, _setYAxes, _setYAxis, _setYField, setSeriesStylesByIndex`

#### Methods inherited from YAHOO.util.EventProvider:

`createEvent, fireEvent, hasEvent, subscribe, unsubscribe, unsubscribeAll`

#### Events inherited from YAHOO.widget.Chart:

`altTextChange, backgroundColorChange, beforeAltTextChange, beforeBackgroundColorChange, beforeCategoryNamesChange, beforeDataSourceChange, beforeDataTipFunctionChange, beforeExpressInstallChange, beforeLegendLabelFunctionChange, beforePollingChange, beforeRequestChange, beforeSeriesChange beforeSwfURLChange beforeVersionChange beforeWmodeChange categoryNamesChange contentReady dataSourceChange dataTipFunctionChange expressInstallChange itemClickEvent itemDoubleClickEvent itemDragEndEvent itemDragEvent itemDragStartEvent itemMouseOutEvent itemMouseOverEvent legendLabelFunctionChange pollingChange requestChange seriesChange swfURLChange versionChange wmodeChange`

#### Events inherited from YAHOO.widget.CartesianChart:

`beforeConstrainViewportChange, beforeXAxesChange, beforeXAxisChange, beforeXFieldChange, beforeYAxesChange, beforeYAxisChange, beforeYFieldChange constrainViewportChange xAxesChange xAxisChange xFieldChange yAxesChange yAxisChange yFieldChange`

#### Configuration attributes inherited from YAHOO.widget.Chart:

`altText, backgroundColor, categoryNames, dataSource, dataTipFunction, expressInstall, legendLabelFunction polling request series swfURL version wmode`

#### Configuration attributes inherited from YAHOO.widget.CartesianChart:

`constrainViewport, xAxes, xAxis, xField yAxes yAxis yField`

Copyright © 2010 Yahoo! Inc. All rights reserved.