| Package | ardisia.charts.legend |
| Class | public class LegendRenderer |
| Inheritance | LegendRenderer spark.components.ToggleButton |
Default MXML Propertylabel
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
partAdded(partName:String, instance:Object):void [override]
| LegendRenderer | ||
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 | ||
| color | property |
color:uintColor of the associated series data in the chart.
The default value is 0.
This property can be used as the source for data binding.
public function get color():uint public function set color(value:uint):void| data | property |
data:ObjectData passed to the renderer.
The default value is null.
This property can be used as the source for data binding.
public function get data():Object public function set data(value:Object):void| itemIndex | property |
itemIndex:intIndex of the renderer in the Legend collection.
The default value is null.
This property can be used as the source for data binding.
public function get itemIndex():int public function set itemIndex(value:int):void| partAdded | () | method |
override protected function partAdded(partName:String, instance:Object):void
Parameters
partName:String | |
instance:Object |