YUI Flash Component Documentation | All Packages | All Classes | Index | Frames No Frames |
Class Legend

Package | com.yahoo.astra.fl.charts.legend
Class | public class Legend
Inheritance | Legend fl.core.UIComponent
Implements | ILegend

Provides a visual reference for the series in a Chart component.

See also

com.yahoo.astra.fl.charts.Chart
com.yahoo.astra.fl.charts.legend.LegendItem

Public Properties

| Property | Defined by
--- | --- | ---
|  | dataProvider : Array An Array of LegendItemData objects. | Legend

Public Methods

| Method | Defined by
--- | --- | ---
|  | Legend() Constructor. | Legend

Styles

| Style | Description | Defined by
--- | --- | --- | ---
|  | backgroundSkin | Type: Class The DisplayObject subclass used to display the background. | Legend
|  | contentPadding | Type: Number The padding that separates the border of the component from its contents, in pixels. The default value is `6`. | Legend
|  | gap | Type: Number The spacing that separates the each legend item. The default value is `6`. | Legend

Property detail

dataProvider | property

`dataProvider:Array` [read-write]

An Array of LegendItemData objects.

Implementation
`public function get dataProvider():Array`
`public function set dataProvider(value:Array):void`
Constructor detail

Legend | () | constructor

`public function Legend()`

Constructor.