Packageardisia.charts.legend
Classpublic class LegendRenderer
InheritanceLegendRenderer Inheritance spark.components.ToggleButton

Class used by renderers for the Legend class.

Default MXML Propertylabel



Public Properties
 PropertyDefined By
  color : uint
Color of the associated series data in the chart.
LegendRenderer
  data : Object
Data passed to the renderer.
LegendRenderer
  itemIndex : int
Index of the renderer in the Legend collection.
LegendRenderer
Protected Methods
 MethodDefined By
  
partAdded(partName:String, instance:Object):void
[override]
LegendRenderer
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
  
colorFillPart:mx.graphics.SolidColor
Required: false Part Type: Dynamic
Displays the color.

The SolidColor must return an object of type Label
LegendRenderer
Property Detail
colorproperty
color:uint

Color of the associated series data in the chart.

The default value is 0.

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


Implementation
    public function get color():uint
    public function set color(value:uint):void
dataproperty 
data:Object

Data passed to the renderer.

The default value is null.

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


Implementation
    public function get data():Object
    public function set data(value:Object):void
itemIndexproperty 
itemIndex:int

Index of the renderer in the Legend collection.

The default value is null.

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


Implementation
    public function get itemIndex():int
    public function set itemIndex(value:int):void
Method Detail
partAdded()method
override protected function partAdded(partName:String, instance:Object):void

Parameters

partName:String
 
instance:Object