(Adobe® Flex™ Charting components only)
Packagemx.charts.chartClasses
Classpublic class ChartBase
InheritanceChartBase Inheritance UIComponent Inheritance FlexSprite Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
ImplementsIFocusManagerComponent
SubclassesCartesianChart, PolarChart

The ChartBase class is the link between the Flex component architecture and the DualStyleObject architecture. It extends the Flex base class UIComponent, but contains DualStyleObject classes.

You typically do not use the ChartBase class directly. Instead you use one of its subclasses such as PlotChart or BubbleChart. It acts as the base class for the common chart types provided in the mx.charts package.

This class defines a number of CSS styles and properties that provide easy access to the more common features of the framework.

A chart's minimum size is 20 x 20 pixels. A chart's maximum size is unbounded. A chart's preferred size is 400 x 400 pixels.

ChartBase objects, and its subclasses, augment the normal mouse event objects with additional data describing the nearest chart data point under the mouse. The event object for mouse events contains an additional property, hitData, which contains a HitData object describing the nearest data point. See mx.charts.HitData for more information on the contents of the HitData object.

ChartBase objects only consider data points within a certain radius of the mouse pointer. You can set this radius using the mouseSensitivity property. If there is no data point within the mouseSensitivity radius, event.hitData is null.

MXML Syntaxexpanded Hide MXML Syntax

Flex components inherit the following properties from the ChartBase class:

  <mx:tagname
    Properties
    allElements="Array; No default"
    annotationElements="Array; No default"
    backgroundElements="Array; No default"
    chartState=""
    clipContent="false|true"
    dataProvider="No default"
    dataRegion"No default"
    dataTipFunction="No default"
    dataTipLayerIndex"No default"
    dataTipMode"No default"
    description"No default"
    labelElements"No default"
    legendData"No default"
    mouseSensitivity="5"
    series="No default"
    seriesFilters"No default"
    showDataTips="true|false"
    transforms"No default"
    
    Styles
    chartSeriesStyles="Style; No default"
    dataTipCalloutStroke="Stroke; No default"
    dataTipRenderer="Renderer; No default"
    fill="IFill; No default"
    fontFamily="Verdana"
    fontSize="10"
    maximumDataTipCount="NaN"
    paddingBottom="No default"
    paddingTop="No default"
    paddingLeft="0"
    paddingRight="0"
    showDataTipTargets="true|false"  
    
   Events
    itemClick="Event; No default"
    itemDoubleClick="Event; No default"
    itemMouseDown="Event; No default"
    itemMouseMove="Event; No default"
    itemMouseUp="Event; No default"
    itemRollOut="Event; No default"
    itemRollOver="Event; No default"
  >
  

Default MXML PropertydataProvider

See also

mx.charts.HitData
mx.charts.CategoryAxis
mx.charts.LinearAxis
Using the charting controls
Applying chart styles
Improving Flex Charting component performance


Public Properties
 PropertyDefined by
 InheritedaccessibilityProperties : AccessibilityProperties
The current accessibility options for this display object.
DisplayObject
 Inheritedalpha : Number
Indicates the alpha transparency value of the object specified.
DisplayObject
  annotationElements : Array
Sets an Array of ChartElements that appears on top of any data series rendered by the chart.
ChartBase
  backgroundElements : Array
Sets an Array of background chart elements that appear below any data series rendered by the chart.
ChartBase
 InheritedbaselinePosition : Number
Determines the baseline y-coordinate of the first line of text of the component.
UIComponent
 InheritedblendMode : String
A value from the BlendMode class that specifies which blend mode to use.
DisplayObject
 InheritedbuttonMode : Boolean
Specifies the button mode of this sprite.
Sprite
 InheritedcacheAsBitmap : Boolean
If set to true, Flash Player caches an internal bitmap representation of the display object.
DisplayObject
 InheritedcacheHeuristic : Boolean
Used by Flex to suggest bitmap caching for the object.
UIComponent
 InheritedcachePolicy : String
Specifies the bitmap caching policy for this object.
UIComponent
  chartState : uint
[read-only] The current transition state of the chart.
ChartBase
 InheritedclassName : String
The name of this instance's class, such as "Button".
UIComponent
  clipContent : Boolean
Determines if Flex clips the chart to the area bounded by the axes.
ChartBase
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedcontentMouseX : Number
Returns the x position of the mouse, in the content coordinate system.
UIComponent
 InheritedcontentMouseY : Number
Returns the y position of the mouse, in the content coordinate system.
UIComponent
 InheritedcontextMenu : ContextMenu
Specifies the context menu associated with this object.
InteractiveObject
 InheritedcurrentState : String
The current view state of the component.
UIComponent
  dataProvider : Object
Specifies the data provider for the chart.
ChartBase
  dataTipFunction : Function
Specifies a callback method used to generate DataTips from values.
ChartBase
  dataTipMode : String
Specifies how Flex displays DataTip controls for the chart.
ChartBase
  description : String
A short description of the data described by the chart.
ChartBase
 Inheriteddescriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used by the createComponentFromDescriptor() method to create this UIComponent instance.
UIComponent
 Inheriteddocument : Object
A reference to the document object associated with this UIComponent.
UIComponent
 InheriteddoubleClickEnabled : Boolean
Specifies whether the UIComponent object receives doubleClick events.
UIComponent
 InheriteddropTarget : DisplayObject
Specifies the display object over which the sprite is being dragged, or on which the sprite was dropped.
Sprite
 Inheritedenabled : Boolean
Whether the component can accept user interaction.
UIComponent
 InheritederrorString : String
The text that will be displayed by a component's error tip when a component is monitored by a Validator and validation fails.
UIComponent
 InheritedexplicitHeight : Number
Number that specifies the explicit height of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedexplicitMaxHeight : Number
Number that specifies the maximum height of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedexplicitMaxWidth : Number
Number that specifies the maximum width of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedexplicitMinHeight : Number
Number that specifies the minimum height of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedexplicitMinWidth : Number
Number that specifies the minimum width of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedexplicitWidth : Number
Number that specifies the explicit width of the component, in pixels, in the component's coordinates.
UIComponent
 Inheritedfilters : Array
An indexed array that contains each filter object currently associated with the display object.
DisplayObject
 InheritedfocusEnabled : Boolean
Indicates whether the component can receive focus when clicked on.
UIComponent
 InheritedfocusManager : IFocusManager
Gets the FocusManager that controls focus for this component and its peers.
UIComponent
 InheritedfocusPane : Sprite
The focus pane associated with this object.
UIComponent
 InheritedfocusRect : Object
Specifies whether this object displays a focus rectangle.
InteractiveObject
 Inheritedgraphics : Graphics
Specifies the Graphics object that belongs to this sprite where vector drawing commands can occur.
Sprite
 Inheritedheight : Number
Number that specifies the height of the component, in pixels, in the parent's coordinates.
UIComponent
 InheritedhitArea : Sprite
Designates another sprite to serve as the hit area for a sprite.
Sprite
 Inheritedid : String
ID of the component.
UIComponent
 InheritedincludeInLayout : Boolean
Specifies whether this component is included in the layout of the parent container.
UIComponent
 InheritedinheritingStyles : Object
The beginning of this component's chain of inheriting styles.
UIComponent
 Inheritedinitialized : Boolean
A flag that determines if an object has been through all three phases of layout: commitment, measurement, and layout (provided that any were required).
UIComponent
 InheritedinstanceIndex : int
The index of a repeated component.
UIComponent
 InheritedinstanceIndices : Array
An Array containing the indices required to reference this UIComponent object from its parent document.
UIComponent
 InheritedisDocument : Boolean
Determines whether this UIComponent instance is a document object, that is, whether it is at the top of the hierarchy of a Flex application, MXML component, or ActionScript component.
UIComponent
 InheritedisPopUp : Boolean
Set to true by the PopUpManager to indicate that component has been popped up.
UIComponent
  legendData : Array
[read-only] An Array of Legend items.
ChartBase
 InheritedloaderInfo : LoaderInfo
Returns a LoaderInfo object containing information about loading the file to which this display object belongs.
DisplayObject
 Inheritedmask : DisplayObject
The calling display object is masked by the specified mask object.
DisplayObject
 InheritedmaxHeight : Number
Number that specifies the maximum height of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedmaxWidth : Number
Number that specifies the maximum width of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedmeasuredHeight : Number
The default height of the component, in pixels.
UIComponent
 InheritedmeasuredMinHeight : Number
The default minimum height of the component, in pixels.
UIComponent
 InheritedmeasuredMinWidth : Number
The default minimum width of the component, in pixels.
UIComponent
 InheritedmeasuredWidth : Number
The default width of the component, in pixels.
UIComponent
 InheritedminHeight : Number
Number that specifies the minimum height of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedminWidth : Number
Number that specifies the minimum width of the component, in pixels, in the component's coordinates.
UIComponent
 InheritedmouseChildren : Boolean
Determines whether or not the children of the object are mouse enabled.
DisplayObjectContainer
 InheritedmouseEnabled : Boolean
Specifies whether this object receives mouse messages.
InteractiveObject
 InheritedmouseFocusEnabled : Boolean
Whether you can receive focus when clicked on.
UIComponent
  mouseSensitivity : Number = 5
Specifies the distance, in pixels, that Flex considers a data point to be under the mouse pointer when the mouse moves around a chart.
ChartBase
 InheritedmouseX : Number
Indicates the x coordinate of the mouse position, in pixels.
DisplayObject
 InheritedmouseY : Number
Indicates the y coordinate of the mouse position, in pixels.
DisplayObject
 Inheritedname : String
Indicates the instance name of the DisplayObject.
DisplayObject
 InheritednestLevel : int
Depth of this object in the containment hierarchy.
UIComponent
 InheritednonInheritingStyles : Object
The beginning of this component's chain of non-inheriting styles.
UIComponent
 InheritednumChildren : int
Returns the number of children of this object.
DisplayObjectContainer
 InheritedopaqueBackground : Object
Specifies whether the display object is opaque with a certain background color.
DisplayObject
 Inheritedowner : DisplayObjectContainer
The owner of this UIComponent.
UIComponent
 Inheritedparent : DisplayObjectContainer
The parent container or component for this component.
UIComponent
 InheritedparentApplication : Object
A reference to the Application object that contains this UIComponent instance.
UIComponent
 InheritedparentDocument : Object
A reference to the parent document object for this UIComponent.
UIComponent
 InheritedpercentHeight : Number
Number that specifies the height of a component as a percentage of its parent's size.
UIComponent
 InheritedpercentWidth : Number
Number that specifies the width of a component as a percentage of its parent's size.
UIComponent
 InheritedprocessedDescriptors : Boolean
Set to true after immediate or deferred child creation, depending on which one happens.
UIComponent
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 Inheritedrepeater : IRepeater
A reference to the Repeater object in the parent document that produced this UIComponent.
UIComponent
 InheritedrepeaterIndex : int
The index of the item in the data provider of the Repeater that produced this UIComponent.
UIComponent
 InheritedrepeaterIndices : Array
An Array containing the indices of the items in the data provider of the Repeaters in the parent document that produced this UIComponent.
UIComponent
 Inheritedrepeaters : Array
An Array containing references to the Repeater objects in the parent document that produced this UIComponent.
UIComponent
 Inheritedroot : DisplayObject
For a display object in a loaded SWF file, the root property is the top-most display object in the portion of the display list's tree structure represented by that SWF file.
DisplayObject
 Inheritedrotation : Number
Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.
DisplayObject
 Inheritedscale9Grid : Rectangle
The current scaling grid that is in effect.
DisplayObject
 InheritedscaleX : Number
Number that specifies the horizontal scaling factor.
UIComponent
 InheritedscaleY : Number
Number that specifies the vertical scaling percentage.
UIComponent
 Inheritedscreen : Rectangle
Returns an object that contains the size and position of the base drawing surface for this object.
UIComponent
 InheritedscrollRect : Rectangle
The scroll rectangle bounds of the display object.
DisplayObject
  series : Array
An Array of Series objects that define the chart data.
ChartBase
  seriesFilters : Array
An Array of filters that are applied to all series in the chart.
ChartBase
  showDataTips : Boolean
Specifies whether Flex shows DataTip controls for the chart.
ChartBase
 InheritedsoundTransform : SoundTransform
Controls sound within this sprite.
Sprite
 Inheritedstage : Stage
The Stage of the display object.
DisplayObject
 Inheritedstates : Array
The view states that are defined for this component.
UIComponent
 InheritedstyleDeclaration : CSSStyleDeclaration
Storage for the inline inheriting styles on this object.
UIComponent
 InheritedstyleName : Object
The class style used by this component.
UIComponent
 InheritedsystemManager : ISystemManager
Returns the SystemManager object used by this component.
UIComponent
 InheritedtabChildren : Boolean
Determines whether the children of the object are tab enabled.
DisplayObjectContainer
 InheritedtabEnabled : Boolean
Specifies whether this object is in the tab order.
InteractiveObject
 InheritedtabIndex : int
Specifies the tab ordering of objects in a SWF file.
InteractiveObject
 InheritedtextSnapshot : TextSnapshot
Returns a TextSnapshot object for this DisplayObjectContainer instance.
DisplayObjectContainer
 InheritedtoolTip : String
Text to display in the ToolTip.
UIComponent
 Inheritedtransform : Transform
An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.
DisplayObject
 Inheritedtransitions : Array
An Array of Transition objects, where each Transition object defines a set of effects to play when a view state change occurs.
UIComponent
 InheritedtweeningProperties : Array
Array of properties that are currently being tweened on this object.
UIComponent
 Inheriteduid : String
A unique identifier for the object.
UIComponent
 InheritedupdateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases of layout validation (provided that any were required).
UIComponent
 InheriteduseHandCursor : Boolean
A Boolean value that indicates whether the pointing hand (hand cursor) appears when the mouse rolls over a sprite in which the buttonMode property is set to true.
Sprite
 InheritedvalidationSubField : String
Used by a validator to associate a subfield with this component.
UIComponent
 Inheritedvisible : Boolean
Controls the visibility of this UIComponent.
UIComponent
 Inheritedwidth : Number
Number that specifies the width of the component, in pixels, in the parent's coordinates.
UIComponent
 Inheritedx : Number
Number that specifies the component's horizontal position, in pixels, within its parent container.
UIComponent
 Inheritedy : Number
Number that specifies the component's vertical position, in pixels, within its parent container.
UIComponent
Protected Properties
 PropertyDefined by
  allElements : Array
The set of all chart elements displayed in the chart.
ChartBase
  dataRegion : Rectangle
[read-only] The area of the chart used to display data.
ChartBase
  dataTipLayerIndex : int
[read-only] The index of the child that is responsible for rendering DataTips.
ChartBase
  labelElements : Array
The set of DisplayObjects representing the labels for the chart elements.
ChartBase
  transforms : Array
The DataTransforms managed by this chart.
ChartBase
 InheritedunscaledHeight : Number
A convenience method for determining the unscaled height of the component All of a component's drawing and child layout should be done within a bounding rectangle of this height, which is also passed as an argument to updateDisplayList().
UIComponent
 InheritedunscaledWidth : Number
A convenience method for determining the unscaled width of the component All of a component's drawing and child layout should be done within a bounding rectangle of this width, which is also passed as an argument to updateDisplayList().
UIComponent
Public Methods
 MethodDefined by
  
Constructor.
ChartBase
 Inherited
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
 Inherited
Indicates whether the security restrictions would cause any display objects to be omitted from the list returned by calling the DisplayObjectContainer.getObjectsUnderPoint() method with the specified point point.
DisplayObjectContainer
 Inherited
callLater(method:Function, args:Array = null):void
Queues a function to be called later.
UIComponent
 Inherited
clearStyle(styleProp:String):void
Deletes a style property from this component instance.
UIComponent
 Inherited
Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself.
DisplayObjectContainer
 Inherited
Converts a Point object from content coordinates to global coordinates.
UIComponent
 Inherited
Converts a Point object from content to local coordinates.
UIComponent
 Inherited
Creates an id reference to this IUIComponent object on its parent document object.
UIComponent
  
dataToLocal(... dataValues):Point
Converts a tuple of data values to an x-y coordinate on screen.
ChartBase
 Inherited
Deletes the id reference to this IUIComponent object on its parent document object.
UIComponent
 Inherited
Returns a UITextFormat object corresponding to the text styles for this UIComponent.
UIComponent
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
Shows or hides the focus indicator around this component.
UIComponent
 Inherited
drawRoundRect(x:Number, y:Number, w:Number, h:Number, r:Object = null, c:Object = null, alpha:Object = null, rot:Object = null, gradient:String = null, ratios:Array = null, hole:Object = null):void
Programatically draws a rectangle into this skin's Graphics object.
UIComponent
 Inherited
Called by the effect instance when it stops playing on the component.
UIComponent
 Inherited
Called by the effect instance when it starts playing on the component.
UIComponent
 Inherited
Ends all currently playing effects on the component.
UIComponent
 Inherited
executeBindings(recurse:Boolean = false):void
Executes the data bindings into this UIComponent object.
UIComponent
  
Returns an Array of HitData objects that describe the nearest data point to the coordinates passed to the method.
ChartBase
 Inherited
Called after printing is complete.
UIComponent
  
getAxis(dimension:String):IAxis
Retrieves the Axis instance for a particular dimension of the chart.
ChartBase
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object.
DisplayObject
 Inherited
Returns the child display object instance that exists at the specified index.
DisplayObjectContainer
 Inherited
Returns the child display object that exists with the specified name.
DisplayObjectContainer
 Inherited
Returns the index position of a child DisplayObject instance.
DisplayObjectContainer
 Inherited
Finds the type selectors for this UIComponent instance.
UIComponent
 Inherited
A convenience method for determining whether to use the explicit or measured height
UIComponent
 Inherited
A convenience method for determining whether to use the explicit or measured width
UIComponent
 Inherited
Gets the object that currently has focus.
UIComponent
 Inherited
Returns an array of objects that lie under the specified point and are children (or grandchildren, and so on) of this DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
Returns a rectangle that defines the boundary of the display object, based on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.
DisplayObject
 Inherited
getRepeaterItem(whichRepeater:int = -1):Object
Returns the item in the dataProvider that was used by the specified Repeater to produce this Repeater, or null if this Repeater isn't repeated.
UIComponent
 Inherited
getStyle(styleProp:String):*
Gets a style property that has been set anywhere in this component's style lookup chain.
UIComponent
 Inherited
Converts a Point object from global to content coordinates.
UIComponent
 Inherited
Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.
DisplayObject
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
  
Informs the chart that the underlying data being displayed in the chart has been changed.
ChartBase
 Inherited
Evaluates the display object to see if it overlaps or intersects with the obj display object.
DisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
Evaluates the display object to see if it overlaps or intersects with the point specified by the x and y parameters.
DisplayObject
 Inherited
Returns a box Matrix which can be passed to the drawRoundRect() method as the rot parameter when drawing a horizontal gradient.
UIComponent
 Inherited
Initializes the internal structure of this component.
UIComponent
 Inherited
Initializes various properties which keep track of repeated instances of this component.
UIComponent
 Inherited
Marks a component so that its updateDisplayList() method gets called during a later screen update.
UIComponent
 Inherited
Marks a component so that its commitProperties() method gets called during a later screen update.
UIComponent
  
Triggers a redraw of the chart.
ChartBase
 Inherited
Marks a component so that its measure() method gets called during a later screen update.
UIComponent
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
  
Dispatches a new LegendDataChanged event.
ChartBase
 Inherited
Converts a Point object from local to content coordinates.
UIComponent
  
Converts a coordinate on screen to a tuple of data values.
ChartBase
 Inherited
Converts the point object from the display object's (local) coordinates to the Stage (global) coordinates.
DisplayObject
 Inherited
Measures the specified HTML text, which may contain HTML tags such as <font> and <b>, assuming that it is displayed in a single-line UITextField using a UITextFormat determined by the styles of this UIComponent.
UIComponent
 Inherited
Measures the specified text, assuming that it is displayed in a single-line UITextField using a UITextFormat determined by the styles of this UIComponent.
UIComponent
 Inherited
Moves the component to a specified position within its parent.
UIComponent
 Inherited
Propagate style changes to the children.
UIComponent
 Inherited
Returns true if the chain of owner properties points from child to this UIComponent.
UIComponent
 Inherited
Called by Flex when a UIComponent object is added to or removed from a parent.
UIComponent
 Inherited
Prepares an IFlexDisplayObject for printing.
UIComponent
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Builds or rebuilds the CSS style cache for this component and, if the recursive parameter is true, for all descendants of this component as well.
UIComponent
 Inherited
For each effect event, register the EffectManager as one of the event listeners.
UIComponent
 Inherited
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
DisplayObjectContainer
 Inherited
Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer.
DisplayObjectContainer
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
[static] Resumes the background processing of methods queued by callLater(), after a call to suspendBackgroundProcessing().
UIComponent
  
Sizes the object.
ChartBase
  
setAxis(dimension:String, value:IAxis):void
Assigns an axis instance to a particular dimension of the chart.
ChartBase
 Inherited
Changes the position of an existing child in the display object container.
DisplayObjectContainer
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
Set the current state.
UIComponent
 Inherited
Sets the focus to this component.
UIComponent
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
setStyle(styleProp:String, newValue:*):void
Sets a style property on this component instance.
UIComponent
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the visible property changes.
UIComponent
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
Lets the user drag the specified sprite.
Sprite
 Inherited
Ends the startDrag() method.
Sprite
 Inherited
styleChanged(styleProp:String):void
Detects changes to style properties.
UIComponent
 Inherited
Flex calls the stylesInitialized() method when the styles for a component are first initialized.
UIComponent
 Inherited
[static] Blocks the background processing of methods queued by callLater(), until resumeBackgroundProcessing() is called.
UIComponent
 Inherited
Swaps the z-order (front-to-back order) of the two specified child objects.
DisplayObjectContainer
 Inherited
swapChildrenAt(index1:int, index2:int):void
Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list.
DisplayObjectContainer
 Inherited
Returns a string indicating the location of this object within the hierarchy of DisplayObjects in the Application.
FlexSprite
 Inherited
Validates the position and size of children and draws other visuals.
UIComponent
 Inherited
Validate and update the properties and layout of this object and redraw it, if necessary.
UIComponent
 Inherited
Used by layout logic to validate the properties of a component by calling the commitProperties() method.
UIComponent
 Inherited
validateSize(recursive:Boolean = false):void
Validates the measured size of the component If the LayoutManager.invalidateSize() method is called with this ILayoutManagerClient, then the validateSize() method is called when it's time to do measurements.
UIComponent
 Inherited
Handles both the valid and invalid events from a validator assigned to this component.
UIComponent
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Returns a box Matrix which can be passed to drawRoundRect() as the rot parameter when drawing a vertical gradient.
UIComponent
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Protected Methods
 MethodDefined by
 Inherited
Adjust the focus rectangle.
UIComponent
  
applySeriesSet(seriesSet:Array, transform:DataTransform):Array
Preprocesses the series and transform for display.
ChartBase
 Inherited
This is an internal method used by the Flex framework to support the Dissolve effect.
UIComponent
 Inherited
Performs any final processing after child objects are created.
UIComponent
 Inherited
Processes the properties set on the component.
UIComponent
 Inherited
Create child objects of the component.
UIComponent
  
customizeSeries(seriesGlyph:Series, i:uint):void
Applies per-series customization and formatting to the series of the chart.
ChartBase
 Inherited
The event handler called when a UIComponent object gets focus.
UIComponent
 Inherited
The event handler called when a UIComponent object loses focus.
UIComponent
 Inherited
Finalizes the initialization of this component.
UIComponent
 Inherited
Initializes this component's accessibility code.
UIComponent
  
Informs the chart that its child list has been modified and should be re-ordererd.
ChartBase
  
This method triggers a redraw of the chart.
ChartBase
  
Informs the chart that its series Array has been modified and should be re-processed.
ChartBase
 Inherited
Typically overridden by components containing UITextField objects, where the UITextField object gets focus.
UIComponent
 Inherited
The event handler called for a keyDown event.
UIComponent
 Inherited
The event handler called for a keyUp event.
UIComponent
 Inherited
Calculates the default size, and optionally the default minimum size, of the component.
UIComponent
  
Defines the locations of DataTips on the chart.
ChartBase
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the object and/or sizes and positions its children.
UIComponent
Events
 EventSummaryDefined by
 Inherited Dispatched when Flash Player gains operating system focus and becomes active.DisplayObject
 Inherited
add
Dispatched when the component is added to a container as a content child by using the addChild() or addChildAt() method.UIComponent
 Inherited Dispatched when a display object is added to the display list.DisplayObject
 Inherited Dispatched when a user presses and releases the main button of the user's pointing device over the same InteractiveObject.InteractiveObject
 Inherited Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.UIComponent
 Inherited Dispatched after the view state has changed.UIComponent
 Inherited Dispatched after the currentState property changes, but before the view state changes.UIComponent
 Inherited Dispatched when Flash Player loses operating system focus and is becoming inactive.DisplayObject
 Inherited Dispatched when a user presses and releases the main button of a pointing device twice in rapid succession over the same InteractiveObject when that object's doubleClickEnabled flag is set to true.InteractiveObject
 Inherited Dispatched by the drag initiator (the component that is the source of the data being dragged) when the drag operation completes, either when you drop the dragged data onto a drop target or when you end the drag-and-drop operation without performing a drop.UIComponent
 Inherited Dispatched by the drop target when the user releases the mouse over it.UIComponent
 Inherited Dispatched by a component when the user moves the mouse over the component during a drag operation.UIComponent
 Inherited Dispatched by the component when the user drags outside the component, but does not drop the data onto the target.UIComponent
 Inherited Dispatched by a component when the user moves the mouse while over the component during a drag operation.UIComponent
 Inherited Dispatched after an effect ends.UIComponent
 Inherited Dispatched just before an effect starts.UIComponent
 Inherited Dispatched when the playhead is entering a new frame.DisplayObject
 Inherited Dispatched after the component has returned to the root view state.UIComponent
 Inherited Dispatched before the component exits from the root view state.UIComponent
 Inherited Dispatched after a display object gains focus.InteractiveObject
 Inherited Dispatched after a display object loses focus.InteractiveObject
 Inherited Dispatched when an object's state changes from visible to invisible.UIComponent
 Inherited Dispatched when the component has finished its construction and has all initialization properties set.UIComponent
 Inherited Dispatched when a component is monitored by a Validator and the validation failed.UIComponent
   Dispatched when a data point is found under the mouse pointer when it is clicked.ChartBase
   Dispatched when a data point is found under the mouse pointer when it is double clicked.ChartBase
   Dispatched when a data point is found under the mouse pointer when it is pressed down.ChartBase
   Dispatched when the mouse pointer moves while over a data point.ChartBase
   Dispatched when a data point is found under the mouse pointer when it is released.ChartBase
   Dispatched when the closest data point under the mouse pointer changes.ChartBase
   Dispatched when a new data point is found under the mouse pointer.ChartBase
 Inherited Dispatched when the user presses a key.InteractiveObject
 Inherited Dispatched when the user attempts to change focus by using keyboard navigation.InteractiveObject
 Inherited Dispatched when the user releases a key.InteractiveObject
 Inherited Dispatched when a user presses the pointing device button over an InteractiveObject instance in the Flash Player window.InteractiveObject
 Inherited Dispatched from a component opened using the PopUpManager when the user clicks outside it.UIComponent
 Inherited Dispatched when the user attempts to change focus by using a pointer device.InteractiveObject
 Inherited Dispatched when a user moves the pointing device while it is over an InteractiveObject.InteractiveObject
 Inherited Dispatched when the user moves a pointing device away from an InteractiveObject instance.InteractiveObject
 Inherited Dispatched when the user moves a pointing device over an InteractiveObject instance in the Flash Player window.InteractiveObject
 Inherited Dispatched when a user releases the pointing device button over an InteractiveObject instance in the Flash Player window.InteractiveObject
 Inherited Dispatched when a mouse wheel is spun over an InteractiveObject instance in the Flash Player window.InteractiveObject
 Inherited Dispatched from a component opened using the PopUpManager when the user scrolls the mouse wheel outside it.UIComponent
 Inherited Dispatched when the object has moved.UIComponent
 Inherited Dispatched at the beginning of the component initialization sequence.UIComponent
 Inherited Dispatched when the component is removed from a container as a content child by using the removeChild() or removeChildAt() method.UIComponent
 Inherited Dispatched when a display object is about to be removed from the display list.DisplayObject
 Inherited Dispatched when the display list is about to be updated and rendered.DisplayObject
 Inherited Dispatched when the component is resized.UIComponent
 Inherited Dispatched when the user moves a pointing device away from an InteractiveObject instance.InteractiveObject
 Inherited Dispatched when the user moves a pointing device over an InteractiveObject instance.InteractiveObject
 Inherited Dispatched when an object's state changes from invisible to visible.UIComponent
 Inherited Dispatched when the value of the object's tabChildren flag changes.InteractiveObject
 Inherited Dispatched when the object's tabEnabled flag changes.InteractiveObject
 Inherited Dispatched when the value of the object's tabIndex property changes.InteractiveObject
 Inherited Dispatched by the component when it is time to create a ToolTip.UIComponent
 Inherited Dispatched by the component when its ToolTip has been hidden and will be discarded soon.UIComponent
 Inherited Dispatched by the component when its ToolTip is about to be hidden.UIComponent
 Inherited Dispatched by the component when its ToolTip is about to be shown.UIComponent
 Inherited Dispatched by the component when its ToolTip has been shown.UIComponent
 Inherited Dispatched by a component whose toolTip property is set, as soon as the user moves the mouse over it.UIComponent
 Inherited Dispatched when an object has had its commitProperties(), measure(), and updateDisplayList() methods called (if needed).UIComponent
 Inherited Dispatched when a component is monitored by a Validator and the validation succeeded.UIComponent
 Inherited Dispatched when values are changed programmatically or by user interaction.UIComponent
Styles
 StyleDescriptionDefined by
 Inherited Type: Number   Format: Length   CSS Inheritance: no
The vertical distance in pixels from the lower edge of the component to the lower edge of its parent container.
UIComponent
  
chartSeriesStyles
Type: Array   CSS Inheritance: no
Contains a list of Strings, each corresponding to a CSS type selector to be used as the default CSS style for a series. Each series in the chart draws a CSS type selector from the list contained in the chartSeriesStyles style. The first series uses the first selector, the second uses the second, and so on. Style properties in this type selector can be overridden by specifying a styleName property for the series.
ChartBase
  
color
Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component, including the component label. The default value is 0x0B333C.
ChartBase
  
dataTipCalloutStroke
Type: mx.graphics.IStroke   CSS Inheritance: no
The Stroke to use to render the callout line from the data tip target to the tip. If set to null, no Stroke is drawn
ChartBase
  
dataTipRenderer
Type: Class   CSS Inheritance: no
Specifies the class to use to render data tips. This class must implement the IFlexDisplayObject and IDataRenderer interfaces. The chart assigns the custom data tip's data property to be the HitData structure describing the data point being described.
ChartBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of the component highlight when validation fails..
UIComponent
  
fill
Type: mx.graphics.IFill   CSS Inheritance: no
Specifies the fill style used for the chart background. The fill can be either a simple color value or an object that implements the mx.graphics.IFill interface.
ChartBase
 Inherited Type: String   CSS Inheritance: no
Blend mode used by the focus rectangle.
UIComponent
 Inherited Type: Class   CSS Inheritance: no
Skin used to draw the focus rectangle.
UIComponent
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Thickness, in pixels, of the focus rectangle outline.
UIComponent
  
fontFamily
Type: String   CSS Inheritance: yes
Name of the font to use. Unlike in a full CSS implementation, comma-separated lists are not supported. You can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. The default value is "Verdana".
ChartBase
  
fontSize
Type: Number   Format: Length   CSS Inheritance: yes
Height of the text in pixels. The default value is 10.
ChartBase
  
fontStyle
Type: String   CSS Inheritance: yes
Determines whether the text is italic font. Recognized values are "normal" and "italic". The default value is "normal".
ChartBase
  
fontWeight
Type: String   CSS Inheritance: yes
Determines whether the text is boldface. Recognized values are "normal" and "bold". The default value is "normal".
ChartBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
The horizontal distance in pixels from the center of the component's parent container to the center of the component.
UIComponent
 Inherited Type: Number   Format: Length   CSS Inheritance: no
The horizontal distance in pixels from the left edge of the component's parent container to the left edge of the component.
UIComponent
  
maximumDataTipCount
Type: int   CSS Inheritance: no
Specifies the maximum number of datatips a chart will show. If more datapoints are in range of the chart than allowed by this style, they will be prioritized by distance, with the closest showing first.

The default value is NaN, which shows whatever datatips are within range.

ChartBase
  
paddingBottom
Type: Number   Format: Length   CSS Inheritance: no
Specifies the number of pixels between the chart's bottom border and its content area.
ChartBase
  
paddingLeft
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's left border and the left edge of its content area.

The default value is 0.
The default value for a Button and CheckBox control is 3.
The default value for the ComboBox control is 5.
The default value for the Form container is 16.
The default value for the Tree control is 2.

ChartBase
  
paddingRight
Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's right border and the right edge of its content area.

The default value is 0.
The default value for a Button and CheckBox control is 3.
The default value for the ComboBox control is 5.
The default value for the Form container is 16.

ChartBase
  
paddingTop
Type: Number   Format: Length   CSS Inheritance: no
Specifies the number of pixels between the chart's top border and its content area.
ChartBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
The horizontal distance in pixels from the right edge of the component to the right edge of its parent container.
UIComponent
  
showDataTipTargets
Type: Boolean   CSS Inheritance: no
Specifies whether to show targets over the datapoints when showDataTips is set to true.
ChartBase
  
textDecoration
Type: String   CSS Inheritance: no
Determines whether the text is underlined. Possible values are "none" and "underline". The default value is "none".
ChartBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Theme color of a component.
UIComponent
 Inherited
top
Type: Number   Format: Length   CSS Inheritance: no
The vertical distance in pixels from the top edge of the component's parent container to the top edge of the component.
UIComponent
 Inherited Type: Number   Format: Length   CSS Inheritance: no
The vertical distance in pixels from the center of the component's parent container to the center of the component.
UIComponent
Effects
 EffectDescriptionDefined by
 Inherited Triggering event: added
Played when the component is added as a child to a Container.
UIComponent
 Inherited Triggering event: creationComplete
Played when the omponent is created.
UIComponent
 Inherited Triggering event: focusIn
Played when the component gains keyboard focus.
UIComponent
 Inherited Triggering event: focusOut
Played when the component loses keyboard focus.
UIComponent
 Inherited Triggering event: hide
Played when the component becomes invisible.
UIComponent
 Inherited Triggering event: mouseDown
Played when the user presses the mouse button while over the component.
UIComponent
 Inherited Triggering event: mouseUp
Played when the user releases the mouse button while over the component.
UIComponent
 Inherited Triggering event: move
Played when the component is moved.
UIComponent
 Inherited Triggering event: removed
Played when the component is removed from a Container.
UIComponent
 Inherited Triggering event: resize
Played when the component is resized.
UIComponent
 Inherited Triggering event: rollOut
Played when the user rolls the mouse so it is no longer over the component.
UIComponent
 Inherited Triggering event: rollOver
Played when the user rolls the mouse over the component.
UIComponent
 Inherited Triggering event: show
Played when the component becomes visible.
UIComponent
Public Constants
 ConstantDefined by
 InheritedDEFAULT_MAX_HEIGHT : Number = 10000
[static] The default value for the maxHeight property.
UIComponent
 InheritedDEFAULT_MAX_WIDTH : Number = 10000
[static] The default value for the maxWidth property.
UIComponent
 InheritedDEFAULT_MEASURED_HEIGHT : Number = 22
[static] The default value for the measuredHeight property.
UIComponent
 InheritedDEFAULT_MEASURED_MIN_HEIGHT : Number = 22
[static] The default value for the measuredMinHeight property.
UIComponent
 InheritedDEFAULT_MEASURED_MIN_WIDTH : Number = 40
[static] The default value for the measuredMinWidth property.
UIComponent
 InheritedDEFAULT_MEASURED_WIDTH : Number = 160
[static] The default value for the measuredWidth property.
UIComponent
Property detail
allElementsproperty
protected var allElements:Array

The set of all chart elements displayed in the chart. This includes series, second series, background elements, annotation elements, etc.

annotationElementsproperty 
annotationElements:Array  [read-write]

Sets an Array of ChartElements that appears on top of any data series rendered by the chart. Each item in the Array must subclass the mx.charts.DualStyleObject class and implement the IChartElement interface.

Implementation
    public function get annotationElements():Array
    public function set annotationElements(value:Array):void
backgroundElementsproperty 
backgroundElements:Array  [read-write]

Sets an Array of background chart elements that appear below any data series rendered by the chart. Each item in the Array must subclass the mx.charts.DualStyleObject class and implement the IChartElement interface.

Implementation
    public function get backgroundElements():Array
    public function set backgroundElements(value:Array):void
chartStateproperty 
chartState:uint  [read-only]

The current transition state of the chart. This property can be used to determine whether the chart is currently transitioning out its old data, transitioning in its new data, or has completed all transitions and is showing its current data set. See the mx.charts.chartClasses.ChartState enumeration for possible values.

Implementation
    public function get chartState():uint
clipContentproperty 
clipContent:Boolean  [read-write]

Determines if Flex clips the chart to the area bounded by the axes. Set to false to clip the chart. Set to true to avoid clipping when the data is rendered.

Implementation
    public function get clipContent():Boolean
    public function set clipContent(value:Boolean):void
dataProviderproperty 
dataProvider:Object  [read-write]

Specifies the data provider for the chart. Data series rendered by the chart are assigned this data provider. To render disparate data series in the same chart, use the dataProvider property on the individual series.

This property can accept an Array or any other object that implements the IList or ICollectionView interfaces.

Implementation
    public function get dataProvider():Object
    public function set dataProvider(value:Object):void
dataRegionproperty 
dataRegion:Rectangle  [read-only]

The area of the chart used to display data. This rectangle excludes the area used for gutters, axis lines and labels, and padding.

Implementation
    protected function get dataRegion():Rectangle
dataTipFunctionproperty 

Revised 9/18/2006: Fixed method signature for dataTipFunction().

public var dataTipFunction:Function

Specifies a callback method used to generate DataTips 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.

dataTipLayerIndexproperty 
dataTipLayerIndex:int  [read-only]

The index of the child that is responsible for rendering DataTips. Derived classes that add additional visual elements to the chart should add it below this layer.

Implementation
    protected function get dataTipLayerIndex():int
dataTipModeproperty 
dataTipMode:String  [read-write]

Specifies how Flex displays DataTip controls for the chart. DataTip controls are similar to ToolTips, except that they display an appropriate value representing the nearest chart data point under the mouse pointer.

Different chart elements might show different styles of DataTip controls. For example, a stacked chart element might show both the values of the column and the percentage it contributes to the whole.

You can customize DataTip controls with the dataTipFunction property. Possible values are:

Implementation
    public function get dataTipMode():String
    public function set dataTipMode(value:String):void
descriptionproperty 
description:String  [read-write]

A short description of the data described by the chart. Screen Readers use this property to describe the chart when accessibility is enabled.

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
labelElementsproperty 
protected var labelElements:Array

The set of DisplayObjects representing the labels for the chart elements. Some series, annotation, and background types include overlays like elements, callouts, etc. If an element wants to display these overlays on top of all elements in the chart, they can pass a DisplayObject to the chart containing the overlays to be placed on top of all other chart elememnts. Chart implementors can access these overlay objects in the labelElements Array.

legendDataproperty 
legendData:Array  [read-only]

An Array of Legend items.

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

Implementation
    public function get legendData():Array
mouseSensitivityproperty 
public var mouseSensitivity:Number = 5

Specifies the distance, in pixels, that Flex considers a data point to be under the mouse pointer when the mouse 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 findDataPoints method.

The default value is 5.

seriesproperty 
series:Array  [read-write]

An Array of Series objects that define the chart data. Each chart defines the type of Series objects that you use to populate this array. For example, a ColumnChart expects ColumnSeries objects as part of this Array. Some charts accept any object of type IChartElement as part of the Array, but in general each chart expects a specific type.

Implementation
    public function get series():Array
    public function set series(value:Array):void
seriesFiltersproperty 
seriesFilters:Array  [read-write]

An Array of filters that are applied to all series in the chart. Assign an Array of Bitmap Filters to this property to apply them to all the series at once. Set the seriesFilter property to an empty Array to clear the default filters on the chart's series. Assigning filters to the seriesFilters property, which applies to all series, is more efficient than assigning them on individual series.

Implementation
    public function get seriesFilters():Array
    public function set seriesFilters(value:Array):void
showDataTipsproperty 
showDataTips:Boolean  [read-write]

Specifies whether Flex shows DataTip controls for the chart. DataTip controls are similar to ToolTips, except that they display an appropriate value representing the nearest chart data point under the mouse pointer.

Different chart elements might show different styles of DataTip controls. For example, a stacked chart element might show both the values of the column and the percentage it contributes to the whole.

You can customize DataTip controls with the dataTipFunction property.

Implementation
    public function get showDataTips():Boolean
    public function set showDataTips(value:Boolean):void
transformsproperty 
transforms:Array  [read-write]

The DataTransforms managed by this chart. Each chart contains one or more data transform, representing a set of axes used to map from tuples from data space to screen space and vice-versa. Most charts only have a single DataTransform, but CartesianCharts that support second axes may manage a second DataTransform as needed.

Implementation
    protected function get transforms():Array
    protected function set transforms(value:Array):void
Constructor detail
ChartBase()constructor
public function ChartBase()

Constructor.

Method detail
applySeriesSet()method
protected function applySeriesSet(seriesSet:Array, transform:DataTransform):Array

Preprocesses the series and transform for display. You typically don't call this method directly. Instead, this function is called automatically during the chart's commitProperties() cycle when the series have been invalidated by a call to invalidateSeries().

By default, this method calls the customizeSeries() method once for each series in the set. Chart subclasses can override this function to add customization logic global to the whole series set.

Parameters
seriesSet:Array — An Array of series to preprocess.
 
transform:DataTransform — The transform used by the series.

Returns
Array — An Array of series with the series set applied.
customizeSeries()method 
protected function customizeSeries(seriesGlyph:Series, i:uint):void

Applies per-series customization and formatting to the series of the chart. This method is called once for each series when the series have been changed by a call to the invalidateSeries() method.

Parameters
seriesGlyph:Series — The series to customize.
 
i:uint — The series' index in the series Array.
dataToLocal()method 
public function dataToLocal(... dataValues):Point

Converts a tuple of data values to an x-y coordinate on screen. Call this function to transform data on to the screen using the same transform that the individual elements go through. For example, to create a custom highlight for a data region of a chart, you might use this function to determine the on-screen coordinates of the range of interest.

For Cartesian charts, you typically pass two values. The first value maps to the horizontal axis, and the second value maps to the vertical axis.

For polar charts, the first value maps to the angular axis, and the second maps to the radial axis.

Parameters
... dataValues

Returns
Point — Coordinates that are relative to the chart.
findDataPoints()method 
public function findDataPoints(x:Number, y:Number):Array

Returns an Array of HitData objects that describe the nearest data point to the coordinates passed to the method. The x and y arguments should be values in the ChartBase's coordinate system.

This method adheres to the limits specified by the mouseSensitivity property of the ChartBase object when looking for nearby data points.

Parameters
x:Number — The x coordinate relative to the ChartBase object.
 
y:Number — The y coordinate relative to the ChartBase object.

Returns
Array — An Array of HitData objects.

See also

getAxis()method 
public function getAxis(dimension:String):IAxis

Retrieves the Axis instance for a particular dimension of the chart. This is a low level accessor. You typically retrieve the Axis directly through a named property (such as horizontalAxis, verticalAxis, or radiusAxis).

Parameters
dimension:String

Returns
IAxis
hideData()method 
public function hideData():void

Informs the chart that the underlying data being displayed in the chart has been changed. Chart series and elements call this function when their rendering has changed in order to trigger a coordinated execution of show and hide data effects. You typically do not call this method on the chart directly.

invalidateChildOrder()method 
protected function invalidateChildOrder():void

Informs the chart that its child list has been modified and should be re-ordererd. Derived chart classes can call this method to trigger a call to its updateChildOrder() method on the next commitProperties() cycle.

invalidateData()method 
protected function invalidateData():void

This method triggers a redraw of the chart. Call this method when you add or change the chart's series or data providers.

invalidateSeries()method 
protected function invalidateSeries():void

Informs the chart that its series Array has been modified and should be re-processed. Derived chart classes can call this method to trigger a call to its updateSeries() method on the next commitProperties cycle.

invalidateSeriesStyles()method 
public function invalidateSeriesStyles():void

Triggers a redraw of the chart. Call this method when you change the style properties of the chart's series.

legendDataChanged()method 
public function legendDataChanged():void

Dispatches a new LegendDataChanged event.

localToData()method 
public function localToData(pt:Point):Array

Converts a coordinate on screen to a tuple of data values. Call this function to determine what data values a particular point on-screen represents.

Individual chart types determine how this transformation occurs. The point should be relative to the chart's coordinate space.

Parameters
pt:Point — The Point to convert.

Returns
Array — The tuple of data values.
positionDataTips()method 
protected function positionDataTips():void

Defines the locations of DataTips on the chart. This method ensures that DataTips do not overlap each other (if multiple DataTips are visible) or their target data items.

setActualSize()method 
public override function setActualSize(w:Number, h:Number):void

Sizes the object. Unlike directly setting the width and height properties, calling the setActualSize() method does not set the explictWidth and explicitHeight properties, so a future layout calculation may result in the object returning to its previous size. This method is used primarily by component developers implementing the updateDisplayList() method, by Effects, and by the LayoutManager.

Parameters
w:Number — Width of the object.
 
h:Number — Height of the object.
setAxis()method 
public function setAxis(dimension:String, value:IAxis):void

Assigns an axis instance to a particular dimension of the chart. This is a low level accessor. You typically set the Axis directly through a named property (such as horizontalAxis, verticalAxis, or radiusAxis).

Parameters
dimension:String
 
value:IAxis
Event detail
itemClickevent 
Event object type: mx.charts.events.ChartItemEvent

Dispatched when a data point is found under the mouse pointer when it is clicked. Flex considers only data points within the radius determined by the mouseSensitivity property.

itemDoubleClickevent  
Event object type: mx.charts.events.ChartItemEvent

Dispatched when a data point is found under the mouse pointer when it is double clicked. Flex considers only data points within the radius determined by the mouseSensitivity property.

itemMouseDownevent  
Event object type: mx.charts.events.ChartItemEvent

Dispatched when a data point is found under the mouse pointer when it is pressed down. Flex considers only data points within the radius determined by the mouseSensitivity property.

itemMouseMoveevent  
Event object type: mx.charts.events.ChartItemEvent

Dispatched when the mouse pointer moves while over a data point. Flex considers only data points within the radius determined by the mouseSensitivity property.

itemMouseUpevent  
Event object type: mx.charts.events.ChartItemEvent

Dispatched when a data point is found under the mouse pointer when it is released. Flex considers only data points within the radius determined by the mouseSensitivity property.

itemRollOutevent  
Event object type: mx.charts.events.ChartItemEvent

Dispatched when the closest data point under the mouse pointer changes. Flex considers only data points within the radius determined by the mouseSensitivity property.

itemRollOverevent  
Event object type: mx.charts.events.ChartItemEvent

Dispatched when a new data point is found under the mouse pointer. Flex only considers data points within the radius determined by the mouseSensitivity property.