Packagemx.charts.chartClasses
Classpublic class CartesianChart
InheritanceCartesianChart Inheritance ChartBase Inheritance UIComponent Inheritance FlexSprite Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
Subclasses AreaChart, BarChart, BubbleChart, CandlestickChart, ColumnChart, HLOCChart, LineChart, PlotChart

The CartesianChart class is a base class for the common chart types. CartesianChart defines the basic layout behavior of the standard rectangular, two-dimensional charts.

MXML SyntaxexpandedHide MXML Syntax

The <mx:CartesianChart> tag inherits all the properties of its parent classes and adds the following properties:

  <mx:CartesianChart
    Properties
    computedGutters="No default"
    dataRegion="Rectangle; no default"
    horizontalAxis="Axis; no default"
    horizontalAxisRatio=".33"
    horizontalAxisRenderer="AxisRenderer; no default"
    secondDataProvider="No default" 
    secondHorizontalAxis="Axis; no default" 
    secondHorizontalAxisRenderer="AxisRenderer; no default" 
    secondSeries="Series; no default"
    secondVerticalAxis="Axis; no default"
    secondVerticalAxisRenderer="AxisRenderer; no default"
    verticalAxis="Axis; no default"
    verticalAxisRenderer="AxisRenderer; no default"  
   
    Styles  
    axisTitleStyleName="Style; no default"
    gridLinesStyleName="Style; no default"
    gutterBottom="No default"
    gutterLeft="No default"
    gutterRight="No default"
    gutterTop="No default"
    horizontalAxixStyle="Style; no default"
    secondHorizontalAxixStyle="Style; no default"
    secondVerticalAxisStyleName="Style; no default"
    textAlign="left|right|center"
    verticalAxisStyleName="Style; no default"
  />
  

See also

mx.charts.CategoryAxis
mx.charts.LinearAxis
mx.charts.chartClasses.ChartBase


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
 InheritedannotationElements : Array
Sets an Array of ChartElements that appears on top of any data series rendered by the chart.
ChartBase
 InheritedautomationDelegate : Object
The delegate object that handles the automation-related functionality.
UIComponent
 InheritedautomationName : String
UIComponent
 InheritedautomationTabularData : Object
[read-only]
UIComponent
 InheritedautomationValue : Array
[read-only] This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.
UIComponent
 InheritedbackgroundElements : Array
Sets an Array of background chart elements that appear below any data series rendered by the chart.
ChartBase
 InheritedbaselinePosition : Number
[read-only] 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
[write-only] Used by Flex to suggest bitmap caching for the object.
UIComponent
 InheritedcachePolicy : String
Specifies the bitmap caching policy for this object.
UIComponent
 InheritedchartState : uint
[read-only] The current transition state of the chart.
ChartBase
 InheritedclassName : String
[read-only] The name of this instance's class, such as "Button".
UIComponent
 InheritedclipContent : Boolean
Determines if Flex clips the chart to the area bounded by the axes.
ChartBase
  computedGutters : Rectangle
[read-only] The current computed size of the gutters of the CartesianChart.
CartesianChart
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedcontentMouseX : Number
[read-only] Returns the x position of the mouse, in the content coordinate system.
UIComponent
 InheritedcontentMouseY : Number
[read-only] 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
 InheriteddataProvider : Object
Specifies the data provider for the chart.
ChartBase
 InheriteddataTipFunction : Function
Specifies a callback method used to generate DataTips from values.
ChartBase
 InheriteddataTipMode : String
Specifies how Flex displays DataTip controls for the chart.
ChartBase
 Inheriteddescription : 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
[read-only] 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
[read-only] 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
  horizontalAxis : IAxis
Defines the labels, tick marks, and data position for items on the x-axis.
CartesianChart
  horizontalAxisRatio : Number = 0.33
Determines the height limit of the horiztonal axis.
CartesianChart
  horizontalAxisRenderer : IAxisRenderer
Specifies how data appears along the x-axis of a chart.
CartesianChart
 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
[read-only] 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
[read-only] 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
 InheritedlegendData : Array
[read-only] An Array of Legend items.
ChartBase
 InheritedloaderInfo : LoaderInfo
[read-only] 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
 InheritedmoduleFactory : IFlexModuleFactory
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
 InheritedmouseSensitivity : 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
[read-only] Indicates the x coordinate of the mouse position, in pixels.
DisplayObject
 InheritedmouseY : Number
[read-only] 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
 InheritednumAutomationChildren : int
[read-only]
UIComponent
 InheritednumChildren : int
[read-only] 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
[read-only] The parent container or component for this component.
UIComponent
 InheritedparentApplication : Object
[read-only] A reference to the Application object that contains this UIComponent instance.
UIComponent
 InheritedparentDocument : Object
[read-only] 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
[read-only] A reference to the Repeater object in the parent document that produced this UIComponent.
UIComponent
 InheritedrepeaterIndex : int
[read-only] 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
[read-only] 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
[read-only] 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
  secondDataProvider : Object
The second dataProvider for this chart.
CartesianChart
  secondHorizontalAxis : IAxis
Defines the labels, tick marks, and data position for items on the y-axis.
CartesianChart
  secondHorizontalAxisRenderer : IAxisRenderer
Specifies how data appears along the y-axis of a chart.
CartesianChart
  secondSeries : Array
An array of Series objects that define the secondary chart data.
CartesianChart
  secondVerticalAxis : IAxis
The second vertical axis definition for this chart.
CartesianChart
  secondVerticalAxisRenderer : IAxisRenderer
Defines the labels, tick marks, and data position for items on the x-axis.
CartesianChart
 Inheritedseries : Array
An Array of Series objects that define the chart data.
ChartBase
 InheritedseriesFilters : Array
An Array of filters that are applied to all series in the chart.
ChartBase
 InheritedshowDataTips : Boolean
Specifies whether Flex shows DataTip controls for the chart.
ChartBase
 InheritedshowInAutomationHierarchy : Boolean
UIComponent
 InheritedsoundTransform : SoundTransform
Controls sound within this sprite.
Sprite
 Inheritedstage : Stage
[read-only] 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
[read-only] 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
  verticalAxis : IAxis
Defines the labels, tick marks, and data position for items on the y-axis.
CartesianChart
  verticalAxisRatio : Number = 0.33
Determines the width limit of the vertical axis.
CartesianChart
  verticalAxisRenderer : IAxisRenderer
Specifies how data appears along the y-axis of a chart.
CartesianChart
 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
 InheritedallElements : 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.
CartesianChart
 InheriteddataTipLayerIndex : int
[read-only] The index of the child that is responsible for rendering DataTips.
ChartBase
 InheritedlabelElements : Array
The set of DisplayObjects representing the labels for the chart elements.
ChartBase
 Inheritedtransforms : Array
The DataTransforms managed by this chart.
ChartBase
 InheritedunscaledHeight : Number
[read-only] 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
[read-only] 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.
CartesianChart
 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
UIComponent
 Inherited
UIComponent
  
dataToLocal(... dataValues):Point
Converts a tuple of data values to an x-y coordinate on screen.
CartesianChart
 Inherited
UIComponent
 Inherited
Returns a UITextFormat object corresponding to the text styles for this UIComponent.
UIComponent
 Inherited
UIComponent
 Inherited
drawFocus(isFocused:Boolean):void
Shows or hides the focus indicator around this component.
UIComponent
 Inherited
drawRoundRect(x:Number, y:Number, width:Number, height:Number, cornerRadius:Object = null, color:Object = null, alpha:Object = null, gradientMatrix:Matrix = null, gradientType:String = "linear", gradientRatios: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
 Inherited
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
 Inherited
UIComponent
 Inherited
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
  
Retrieves axis instance for a particular secondary dimension of the chart.
CartesianChart
 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
 Inherited
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
 Inherited
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
 Inherited
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.
CartesianChart
 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
UIComponent
 Inherited
UIComponent
 Inherited
[static] Resumes the background processing of methods queued by callLater(), after a call to suspendBackgroundProcessing().
UIComponent
 Inherited
ChartBase
 Inherited
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
  
setSecondAxis(dimension:String, value:IAxis):void
Assigns an axis instance to a particular secondary dimension of the chart.
CartesianChart
 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
  
styleChanged(styleProp:String):void
Detects changes to style properties.
CartesianChart
 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
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
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
 Inherited
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
  
Processes the properties set on the component.
CartesianChart
 Inherited
Create child objects of the component.
UIComponent
 Inherited
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
  
Initializes the chart for displaying a second series.
CartesianChart
 Inherited
Informs the chart that its child list has been modified and should be re-ordererd.
ChartBase
 Inherited
This method triggers a redraw of the chart.
ChartBase
 Inherited
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
  
CartesianChart
 Inherited
Defines the locations of DataTips on the chart.
ChartBase
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the object and/or sizes and positions its children.
CartesianChart
Events
 Event Summary Defined By
 Inherited Dispatched when Flash Player gains operating system focus and becomes active.EventDispatcher
 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 display object is added to the on stage display list, either directly or through the addition of a sub tree in which the display object is contained.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.EventDispatcher
 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
 Inherited Dispatched when a data point is found under the mouse pointer when it is clicked.ChartBase
 Inherited Dispatched when a data point is found under the mouse pointer when it is double clicked.ChartBase
 Inherited Dispatched when a data point is found under the mouse pointer when it is pressed down.ChartBase
 Inherited Dispatched when the mouse pointer moves while over a data point.ChartBase
 Inherited Dispatched when a data point is found under the mouse pointer when it is released.ChartBase
 Inherited Dispatched when the closest data point under the mouse pointer changes.ChartBase
 Inherited 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 a display object is about to be removed from the display list, either directly or through the removal of a sub tree in which the display object is contained.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
 Style Description Defined By
  
axisTitleStyleName
Type: String   CSS Inheritance: yes
The name of the CSS class selector to use when formatting titles on the axes.
CartesianChart
 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
 Inherited 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.
ChartBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component, including the component label.
ChartBase
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
The Stroke to use to render the callout line from the data tip target to the tip.
ChartBase
 Inherited Type: Class   CSS Inheritance: no
Specifies the class to use to render data tips.
ChartBase
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of the component highlight when validation fails.
UIComponent
 Inherited Type: mx.graphics.IFill   CSS Inheritance: no
Specifies the fill style used for the chart background.
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
 Inherited Type: String   CSS Inheritance: yes
Name of the font to use.
ChartBase
 Inherited Type: Number   Format: Length   CSS Inheritance: yes
Height of the text in pixels.
ChartBase
 Inherited Type: String   CSS Inheritance: yes
Determines whether the text is italic font.
ChartBase
 Inherited Type: String   CSS Inheritance: yes
Determines whether the text is boldface.
ChartBase
  
gridLinesStyleName
Type: String   CSS Inheritance: no
The class selector that defines the style properties for the default grid lines. If you explicitly set the backgroundElements property on your chart, this value is ignored.
CartesianChart
  
gutterBottom
Type: Number   Format: Length   CSS Inheritance: no
The size of the region, in pixels, between the bottom of the chart data area and the bottom of the chart control.
CartesianChart
  
gutterLeft
Type: Number   Format: Length   CSS Inheritance: no
The size of the region, in pixels, between the left of the chart data area and the left of the chart control.
CartesianChart
  
gutterRight
Type: Number   Format: Length   CSS Inheritance: no
The size of the region, in pixels, between the right side of the chart data area and the outside of the chart control.
CartesianChart
  
gutterTop
Type: Number   Format: Length   CSS Inheritance: no
The size of the region, in pixels, between the top of the chart data area and the top of the chart control.
CartesianChart
  
horizontalAxisStyleName
Type: String   CSS Inheritance: no
The class selector that defines the style properties for the horizontal axis.
CartesianChart
 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
 Inherited Type: int   CSS Inheritance: no
Specifies the maximum number of datatips a chart will show.
ChartBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Specifies the number of pixels between the chart's bottom border and its content area.
ChartBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's left border and the left edge of its content area.
ChartBase
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's right border and the right edge of its content area.
ChartBase
 Inherited 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
  
secondHorizontalAxisStyleName
Type: String   CSS Inheritance: no
The class selector that defines the style properties for the second horizontal axis.
CartesianChart
  
secondVerticalAxisStyleName
Type: String   CSS Inheritance: no
The class selector that defines the style properties for the second vertical axis.
CartesianChart
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether to show targets over the datapoints when showDataTips is set to true.
ChartBase
  
textAlign
Type: String   CSS Inheritance: yes
Alignment of text within a container. Valid values are "left", "right", and "center". The default value is "left".
CartesianChart
 Inherited Type: String   CSS Inheritance: no
Determines whether the text is underlined.
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
  
verticalAxisStyleName
Type: String   CSS Inheritance: no
The class selector that defines the style properties for the vertical axis.
CartesianChart
 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
 Effect Description Defined By
 Inherited Triggering Event: added
 Inherited Triggering Event: creationComplete
 Inherited Triggering Event: focusIn
 Inherited Triggering Event: focusOut
 Inherited Triggering Event: hide
 Inherited Triggering Event: mouseDown
 Inherited Triggering Event: mouseUp
 Inherited Triggering Event: move
 Inherited Triggering Event: removed
 Inherited Triggering Event: resize
 Inherited Triggering Event: rollOut
 Inherited Triggering Event: rollOver
 Inherited Triggering Event: show
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
computedGuttersproperty
computedGutters:Rectangle  [read-only]

The current computed size of the gutters of the CartesianChart. The gutters represent the area between the padding and the data area of the chart, where the titles and axes render. By default, the gutters are computed dynamically. You can set explicit values through the gutter styles. The gutters are computed to match any changes to the chart when it is validated by the LayoutManager.


Implementation
    public function get computedGutters():Rectangle
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
horizontalAxisproperty 
horizontalAxis:IAxis  [read-write]

Defines the labels, tick marks, and data position for items on the x-axis. Use either the LinearAxis class or the CategoryAxis class to set the properties of the horizontalAxis as a child tag in MXML or create a LinearAxis or CategoryAxis object in ActionScript.


Implementation
    public function get horizontalAxis():IAxis
    public function set horizontalAxis(value:IAxis):void
horizontalAxisRatioproperty 
public var horizontalAxisRatio:Number = 0.33

Determines the height limit of the horiztonal axis. The limit is the width of the axis times this ratio.

The default value is 0.33..

horizontalAxisRendererproperty 
horizontalAxisRenderer:IAxisRenderer  [read-write]

Specifies how data appears along the x-axis of a chart. Use the AxisRenderer class to define the properties for horizontalAxisRenderer as a child tag in MXML or create an AxisRenderer object in ActionScript.


Implementation
    public function get horizontalAxisRenderer():IAxisRenderer
    public function set horizontalAxisRenderer(value:IAxisRenderer):void
secondDataProviderproperty 
secondDataProvider:Object  [read-write]

The second dataProvider for this chart. The second dataProvider is typically rendered by a secondSeries.


Implementation
    public function get secondDataProvider():Object
    public function set secondDataProvider(value:Object):void
secondHorizontalAxisproperty 
secondHorizontalAxis:IAxis  [read-write]

Defines the labels, tick marks, and data position for items on the y-axis. Use either the LinearAxis class or the CategoryAxis class to set the properties of the horizontalAxis as a child tag in MXML or create a LinearAxis or CategoryAxis object in ActionScript.


Implementation
    public function get secondHorizontalAxis():IAxis
    public function set secondHorizontalAxis(value:IAxis):void
secondHorizontalAxisRendererproperty 
secondHorizontalAxisRenderer:IAxisRenderer  [read-write]

Specifies how data appears along the y-axis of a chart. Use the AxisRenderer class to set the properties for verticalAxisRenderer as a child tag in MXML or create an AxisRenderer object in ActionScript.


Implementation
    public function get secondHorizontalAxisRenderer():IAxisRenderer
    public function set secondHorizontalAxisRenderer(value:IAxisRenderer):void
secondSeriesproperty 
secondSeries:Array  [read-write]

An array of Series objects that define the secondary chart data. Secondary Series are displayed in the same data area as the primary chart series, but are typically rendered with different scales and axes.


Implementation
    public function get secondSeries():Array
    public function set secondSeries(value:Array):void
secondVerticalAxisproperty 
secondVerticalAxis:IAxis  [read-write]

The second vertical axis definition for this chart. This class is typically used to render the axis for a secondSeries.


Implementation
    public function get secondVerticalAxis():IAxis
    public function set secondVerticalAxis(value:IAxis):void
secondVerticalAxisRendererproperty 
secondVerticalAxisRenderer:IAxisRenderer  [read-write]

Defines the labels, tick marks, and data position for items on the x-axis. Use either the LinearAxis class or the CategoryAxis class to set the properties of the horizontalAxis as a child tag in MXML or create a LinearAxis or CategoryAxis object in ActionScript.


Implementation
    public function get secondVerticalAxisRenderer():IAxisRenderer
    public function set secondVerticalAxisRenderer(value:IAxisRenderer):void
verticalAxisproperty 
verticalAxis:IAxis  [read-write]

Defines the labels, tick marks, and data position for items on the y-axis. Use either the LinearAxis class or the CategoryAxis class to set the properties of the horizontalAxis as a child tag in MXML or create a LinearAxis or CategoryAxis object in ActionScript.


Implementation
    public function get verticalAxis():IAxis
    public function set verticalAxis(value:IAxis):void
verticalAxisRatioproperty 
public var verticalAxisRatio:Number = 0.33

Determines the width limit of the vertical axis. The limit is the width of the axis times this ratio.

The default value is 0.33..

verticalAxisRendererproperty 
verticalAxisRenderer:IAxisRenderer  [read-write]

Specifies how data appears along the y-axis of a chart. Use the AxisRenderer class to set the properties for verticalAxisRenderer as a child tag in MXM or create an AxisRenderer object in ActionScript.


Implementation
    public function get verticalAxisRenderer():IAxisRenderer
    public function set verticalAxisRenderer(value:IAxisRenderer):void
Constructor Detail
CartesianChart()Constructor
public function CartesianChart()

Constructor.

Method Detail
commitProperties()method
protected override function commitProperties():void

Processes the properties set on the component. This is an advanced method that you might override when creating a subclass of UIComponent.

You do not call this method directly. Flex calls the commitProperties() method when you use the addChild() method to add a component to a container, or when you call the invalidateProperties() method of the component. Calls to the commitProperties() method occur before calls to the measure() method. This lets you set property values that might be used by the measure() method.

Some components have properties that affect the number or kinds of child objects that they need to create, or have properties that interact with each other, such as the horizontalScrollPolicy and horizontalScrollPosition properties. It is often best at startup time to process all of these properties at one time to avoid duplicating work.

dataToLocal()method 
public override 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.
getSecondAxis()method 
public function getSecondAxis(dimension:String):IAxis

Retrieves axis instance for a particular secondary dimension of the chart. This is a low level accessor. You typically retrieve the axis directly through a named property (such as the secondHorizontalAxis or secondVerticalAxis property).

Parameters

dimension:String

Returns
IAxis
initSecondaryMode()method 
protected function initSecondaryMode():void

Initializes the chart for displaying a second series. This function is called automatically whenever any of the secondary properties, such as secondSeries or secondHorizontalAxis, are set. Specific chart subtypes override this method to initialize default secondary values. Column charts, for example, initialize a separate secondary vertical axis, but leave the primary and secondary horizontal axes linked.

localToData()method 
public override 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.
measure()method 
protected override function measure():void
setSecondAxis()method 
public function setSecondAxis(dimension:String, value:IAxis):void

Assigns an axis instance to a particular secondary dimension of the chart. This is a low level accessor. You typically set the axis directly through a named property (such as the secondHorizontalAxis or secondVerticalAxis property).

Parameters

dimension:String
 
value:IAxis

styleChanged()method 
public override function styleChanged(styleProp:String):void

Detects changes to style properties. When any style property is set, Flex calls the styleChanged() method, passing to it the name of the style being set.

This is an advanced method that you might override when creating a subclass of UIComponent. When you create a custom component, you can override the styleChanged() method to check the style name passed to it, and handle the change accordingly. This lets you override the default behavior of an existing style, or add your own custom style properties.

If you handle the style property, your override of the styleChanged() method should call the invalidateDisplayList() method to cause Flex to execute the component's updateDisplayList() method at the next screen update.

Parameters

styleProp:String — The name of the style property, or null if all styles for this component have changed.

updateAxisOrder()method 
mx_internal override function updateAxisOrder(nextIndex:int):int

Parameters

nextIndex:int

Returns
int
updateData()method 
mx_internal override function updateData():void

updateDisplayList()method 
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Draws the object and/or sizes and positions its children. This is an advanced method that you might override when creating a subclass of UIComponent.

You do not call this method directly. Flex calls the updateDisplayList() method when the component is added to a container using the addChild() method, and when the component's invalidateDisplayList() method is called.

If the component has no children, this method is where you would do programmatic drawing using methods on the component's Graphics object such as graphics.drawRect().

If the component has children, this method is where you would call the move() and setActualSize() methods on its children.

Components may do programmatic drawing even if they have children. In doing either, you should use the component's unscaledWidth and unscaledHeight as its bounds.

It is important to use unscaledWidth and unscaledHeight instead of the width and height properties.

Parameters

unscaledWidth:Number — Specifies the width of the component, in pixels, in the component's coordinates, regardless of the value of the scaleX property of the component.
 
unscaledHeight:Number — Specifies the height of the component, in pixels, in the component's coordinates, regardless of the value of the scaleY property of the component.

updateSeries()method 
mx_internal override function updateSeries():void





 

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

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/common/langref/mx/charts/chartClasses/CartesianChart.html