Packagecom.yahoo.astra.fl.charts.legend
Classpublic class Legend
InheritanceLegend Inheritance fl.core.UIComponent
ImplementsILegend

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
 PropertyDefined by
  dataProvider : Array
An Array of LegendItemData objects.
Legend
Public Methods
 MethodDefined by
  
Constructor.
Legend
Styles
 StyleDescriptionDefined 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
dataProviderproperty
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.