# Yahoo! UI Library

### Charts Widget 2.7.0

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

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

LineChart class for the YUI Charts widget.

### Constructor

YAHOO.widget.LineChart `( 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.util.AttributeProvider:

`_configs`

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

`_dataSource, _dataTipFunction, _pollingID, _pollingInterval, _request, _seriesDefs, _seriesLabelFunctions, _type`

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

`_attributes, _containerID, _id, _initialized, _swf, _swfURL`

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

`_xAxisLabelFunction, _yAxisLabelFunction`

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

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

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

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

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

`_embedSWF, _eventHandler, _getAltText, _getSWFURL, _initAttributes, _loadHandler, _setAltText, destroy, toString`

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

`_getXField, _getYField, _initAttributes, _setXAxis, _setXField, _setYAxis, _setYField`

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

`beforeCategoryNamesChange, beforeDataSourceChange, beforeDataTipFunctionChange, beforePollingChange, beforeRequestChange, beforeSeriesChange, categoryNamesChange, dataSourceChange, dataTipFunctionChange, itemClickEvent itemDoubleClickEvent itemDragEndEvent itemDragEvent itemDragStartEvent itemMouseOutEvent itemMouseOverEvent pollingChange requestChange seriesChange`

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

`altTextChange, backgroundColorChange, beforeAltTextChange, beforeBackgroundColorChange, beforeExpressInstallChange beforeSwfURLChange beforeVersionChange beforeWmodeChange contentReady expressInstallChange swfURLChange versionChange wmodeChange`

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

`beforeXAxisChange, beforeXFieldChange, beforeYAxisChange, beforeYFieldChange xAxisChange xFieldChange yAxisChange yFieldChange`

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

`categoryNames, dataSource, dataTipFunction, polling, request, series,`

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

`altText, backgroundColor, expressInstall, swfURL, version wmode`

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

`xAxis, xField, yAxis, yField`

Copyright © 2009 Yahoo! Inc. All rights reserved.