Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.charts.chartClasses 
ChartState 
Packagemx.charts.chartClasses
Classpublic final class ChartState
InheritanceChartState Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Describes the current state of a chart. Series implementations can examine the Chart.state value to determine whether the chart is showing or hiding data, and how to render in response.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  HIDING_DATA : uint = 2
[static] The chart is currently running transitions to hide the old chart data.
ChartState
  NONE : uint = 0
[static] No state.
ChartState
  PREPARING_TO_HIDE_DATA : uint = 1
[static] The display of data has changed in the chart, and it is about to begin a transition to hide the current data.
ChartState
  PREPARING_TO_SHOW_DATA : uint = 3
[static] The chart has finished any transitions to hide the old data, and is preparing to run transitions to display the new data
ChartState
  SHOWING_DATA : uint = 4
[static] The chart is currently running transitions to show the new chart data.
ChartState
Constant Detail

HIDING_DATA

Constant
public static const HIDING_DATA:uint = 2

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The chart is currently running transitions to hide the old chart data.

NONE

Constant 
public static const NONE:uint = 0

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

No state. The chart is simply showing its data.

PREPARING_TO_HIDE_DATA

Constant 
public static const PREPARING_TO_HIDE_DATA:uint = 1

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The display of data has changed in the chart, and it is about to begin a transition to hide the current data.

PREPARING_TO_SHOW_DATA

Constant 
public static const PREPARING_TO_SHOW_DATA:uint = 3

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The chart has finished any transitions to hide the old data, and is preparing to run transitions to display the new data

SHOWING_DATA

Constant 
public static const SHOWING_DATA:uint = 4

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The chart is currently running transitions to show the new chart data.