YUI AS Component Documentation |
Interface ILegend

Package | com.yahoo.astra.fl.charts.legend
Interface | public interface ILegend
Implementors | Legend

Properties required by a chart's legend.

See also

com.yahoo.astra.fl.charts.Chart

Public Properties

| Property | Defined by
--- | --- | ---
|  | dataProvider : Array An Array of LegendItemData objects. | ILegend
|  | maxHeight : Number The maximum available height for the legend. | ILegend
|  | maxWidth : Number The maximum available width for the legend. | ILegend

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`

See also

com.yahoo.astra.fl.charts.legend.LegendItemData

maxHeight | property |

`maxHeight:Number` [read-write]

The maximum available height for the legend.

Implementation
`public function get maxHeight():Number`
`public function set maxHeight(value:Number):void`

maxWidth | property |

`maxWidth:Number` [read-write]

The maximum available width for the legend.

Implementation
`public function get maxWidth():Number`
`public function set maxWidth(value:Number):void`