Packagecom.flexicious.components.charts.legends
Classpublic class Legend
InheritanceLegend Inheritance spark.components.List

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 9, AIR 1.1

The Legend control adds a legend to your charts, where the legend displays the label for each data series in the chart and a key showing the chart element for the series.

You can initialize a Legend control by binding a chart control identifier to the Legend control's dataProvider property, or you can define an Array of LegendItem objects.

MXML SyntaxexpandedHide MXML Syntax

The <mx:Legend> tag inherits all the properties of its parent classes and adds the following properties:

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
  chart : TinyChartBase
The chart associated with this legend
Legend
  legendItemRendererLayoutFactory : IFactory
Legend
Public Methods
 MethodDefined By
  
Legend
  
rebuild():void
Legend
Protected Methods
 MethodDefined By
  
[override]
Legend
Property Detail
chartproperty
chart:TinyChartBase

The chart associated with this legend

This property can be used as the source for data binding.


Implementation
    public function get chart():TinyChartBase
    public function set chart(value:TinyChartBase):void
legendItemRendererLayoutFactoryproperty 
public var legendItemRendererLayoutFactory:IFactory

Constructor Detail
Legend()Constructor
public function Legend()



Method Detail
commitProperties()method
override protected function commitProperties():void

rebuild()method 
public function rebuild():void