Methods | Properties Frames | No Frames

mx.charts.chartClasses
Class ChartComponent

Inheritance Image
Direct Known Subclasses
           mx.charts.AxisRenderer, mx.charts.chartClasses.ChartElement

class ChartComponent
extends mx.events.EventDispatcher

The ChartComponent class is a base for all visual pieces internal to the ChartBase and its derivatives.

Common MXML Syntax Inherited from ChartComponent

Flex components inherit the following properties from the ChartComponent class:

 <mx:tagname
styleName="Style; No default"
>



Methods
       invalidate( )
Invalidates a ChartComponent.
       update( )
Called when a component has been invalidated.

Methods inherited from class mx.events.EventDispatcher
addEventListener   dispatchEvent   initialize   removeEventListener  



Properties
       peer: MovieClip    [Read-Only]
Specifies the peer of the chart component; it is the MovieClip instance the ChartComponent draws into.
       styleName: String
The name of the style to apply to the component.
       surface: mx.charts.chartClasses.ChartBase    [Read-Only]
Refers to the chart component containing this element.



Method Detail

invalidate

invalidate( )

Invalidates a ChartComponent. Custom ChartComponents should call this method when they need to be redrawn.


update

update( )

Called when a component has been invalidated.



Property Detail

peer

peer: MovieClip   [Read-Only]

Specifies the peer of the chart component; it is the MovieClip instance the ChartComponent draws into.


styleName

styleName: String  

The name of the style to apply to the component.


surface

surface: mx.charts.chartClasses.ChartBase   [Read-Only]

Refers to the chart component containing this element.


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/15/asdocs_en/mx/charts/chartClasses/ChartComponent.html