Dispatched when the ICollectionView has been updated in some way.
ChartBase
Property Detail
chartType
property
chartType:String [read-only]
One of the following constants, on basis of which chart type this is.
CHART_TYPE_LINE:String="line"
CHART_TYPE_AREA:String="area"
CHART_TYPE_COLUMN:String="column"
CHART_TYPE_PIE:String="pie"
Implementation public function get chartType():String
data
property
data:Object
This property can be used as the source for data binding.
Implementation public function get data():Object public function set data(value:Object):void
dataProvider
property
dataProvider:Object
Language Version :
ActionScript 3.0
Product Version :
Flex 3
Runtime Versions :
Flash Player 9, AIR 1.1
Specifies the data provider for the chart.
This property can accept an array
or any other object that implements the IList or ICollectionView interface.
This property can be used as the source for data binding.
Implementation public function get dataProvider():Object public function set dataProvider(value:Object):void
dataTipFunction
property
public var dataTipFunction:Function
Language Version :
ActionScript 3.0
Product Version :
Flex 3
Runtime Versions :
Flash Player 9, AIR 1.1
Specifies a callback method used to generate data tips from values.
This method should use the following signature:
function dataTipFunction(hitData:HitData):String
This method returns a string that is displayed for each data point.
The text can include HTML formatting.
The single parameter is a HitData object that describes the data point.
description
property
description:String
Language Version :
ActionScript 3.0
Product Version :
Flex 3
Runtime Versions :
Flash Player 9, AIR 1.1
A short description of the data in the chart.
When accessibility is enabled, screen readers use this property to describe the chart.
This string defaults to the empty string, and must be
explicitly assigned by the developer to have meaning.
Implementation public function get description():String public function set description(value:String):void
mouseSensitivity
property
public var mouseSensitivity:Number = 2
Language Version :
ActionScript 3.0
Product Version :
Flex 3
Runtime Versions :
Flash Player 9, AIR 1.1
Specifies the distance, in pixels, that Flex considers a data point
to be under the mouse pointer when the pointer moves around a chart.
Flex considers any data point less than mouseSensitivity
pixels away to be under the mouse pointer.
This value is also used by the getItemAtPoint method.
The default value is 2.
numElements
property
numElements:int [read-only]
The number of elements in the associates skin
Implementation public function get numElements():int
selectionMode
property
selectionMode:String
Language Version :
ActionScript 3.0
Product Version :
Flex 3
Runtime Versions :
Flash Player 9, AIR 1.1
Specifies whether or not ChartItem objects can be selected. Possible
values are none, single, or multiple.
Set to none to prevent chart items from being selected.
Set to single to allow only one item to be selected at a time.
Set to multiple to allow one or more chart items to be selected at a time.
The default value is none.
Implementation public function get selectionMode():String public function set selectionMode(value:String):void
See also
mx.charts.ChartItem mx.charts.chartClasses.Series
useElements
property
useElements:Boolean [read-only]
Whether to use addElement or addChild;
Implementation public function get useElements():Boolean
Constructor Detail
ChartBase
()
Constructor
public function ChartBase()
Method Detail
addElement
()
method
public function addElement(element:IVisualElement):IVisualElement
This method will add the passed in visual element directly into the associates skin
Parameters
element:IVisualElement
Returns
IVisualElement
attachSkin
()
method
override protected function attachSkin():void
collectionChangeHandler
()
method
protected function collectionChangeHandler(event:CollectionEvent):void
Collection change handler.
Parameters
event:CollectionEvent
measure
()
method
override protected function measure():void
onCreationComplete
()
method
protected function onCreationComplete(event:FlexEvent):void
Parameters
event:FlexEvent
onResize
()
method
protected function onResize(event:ResizeEvent):void