| Package | mx.charts.chartClasses |
| Class | public class Series |
| Inheritance | Series ChartElement DualStyleObject UIComponent FlexSprite Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
| Subclasses | AreaSeries, BarSeries, BubbleSeries, ColumnSeries, HLOCSeriesBase, LineSeries, PieSeries, PlotSeries, StackedSeries |
| Property | Defined By | ||
|---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
The current accessibility options for this display object.
| DisplayObject | |
![]() | alpha : Number
Indicates the alpha transparency value of the object specified.
| DisplayObject | |
![]() | automationDelegate : Object
The delegate object that handles the automation-related functionality.
| UIComponent | |
![]() | automationName : String
| UIComponent | |
![]() | automationTabularData : Object
[read-only]
| UIComponent | |
![]() | automationValue : 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 | |
![]() | baselinePosition : Number
[read-only]
Determines the baseline y-coordinate
of the first line of text of the component.
| UIComponent | |
![]() | blendMode : String
A value from the BlendMode class that specifies which blend mode to use.
| DisplayObject | |
![]() | buttonMode : Boolean
Specifies the button mode of this sprite.
| Sprite | |
![]() | cacheAsBitmap : Boolean
If set to true, Flash Player caches an internal bitmap representation of the
display object.
| DisplayObject | |
![]() | cacheHeuristic : Boolean
[write-only]
Used by Flex to suggest bitmap caching for the object.
| UIComponent | |
![]() | cachePolicy : String
Specifies the bitmap caching policy for this object.
| UIComponent | |
![]() | chartDataProvider : Object
[write-only]
The data provider assigned to the enclosing chart.
| ChartElement | |
![]() | className : String
[read-only]
The name of this instance's class, such as "Button".
| UIComponent | |
![]() | constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | |
![]() | contentMouseX : Number
[read-only]
Returns the x position of the mouse, in the content coordinate system.
| UIComponent | |
![]() | contentMouseY : Number
[read-only]
Returns the y position of the mouse, in the content coordinate system.
| UIComponent | |
![]() | contextMenu : ContextMenu
Specifies the context menu associated with this object.
| InteractiveObject | |
![]() | currentState : String
The current view state of the component.
| UIComponent | |
![]() | dataProvider : Object
A data provider assigned to the this specific element.
| ChartElement | |
| dataTransform : DataTransform
[write-only]
The data dataTransform the element is associated with.
| Series | ||
![]() | descriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used
by the createComponentFromDescriptor() method to create this
UIComponent instance.
| UIComponent | |
| displayName : String
The name of the series, for display to the user.
| Series | ||
![]() | document : Object
A reference to the document object associated with this UIComponent.
| UIComponent | |
![]() | doubleClickEnabled : Boolean
Specifies whether the UIComponent object receives doubleClick events.
| UIComponent | |
![]() | dropTarget : DisplayObject
[read-only]
Specifies the display object over which the sprite is being dragged, or on
which the sprite was dropped.
| Sprite | |
![]() | enabled : Boolean
Whether the component can accept user interaction.
| UIComponent | |
![]() | errorString : 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 | |
![]() | explicitHeight : Number
Number that specifies the explicit height of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | explicitMaxHeight : Number
Number that specifies the maximum height of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | explicitMaxWidth : Number
Number that specifies the maximum width of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | explicitMinHeight : Number
Number that specifies the minimum height of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | explicitMinWidth : Number
Number that specifies the minimum width of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | explicitWidth : Number
Number that specifies the explicit width of the component,
in pixels, in the component's coordinates.
| UIComponent | |
| filterData : Boolean
This property is true if the series filters its data
before displaying.
| Series | ||
![]() | filters : Array
An indexed array that contains each filter object currently associated with the display object.
| DisplayObject | |
![]() | focusEnabled : Boolean
Indicates whether the component can receive focus when clicked on.
| UIComponent | |
![]() | focusManager : IFocusManager
Gets the FocusManager that controls focus for this component
and its peers.
| UIComponent | |
![]() | focusPane : Sprite
The focus pane associated with this object.
| UIComponent | |
![]() | focusRect : Object
Specifies whether this object displays a focus rectangle.
| InteractiveObject | |
![]() | graphics : Graphics
[read-only]
Specifies the Graphics object that belongs to this sprite where vector
drawing commands can occur.
| Sprite | |
![]() | height : Number
Number that specifies the height of the component, in pixels,
in the parent's coordinates.
| UIComponent | |
![]() | hitArea : Sprite
Designates another sprite to serve as the hit area for a sprite.
| Sprite | |
![]() | id : String
ID of the component.
| UIComponent | |
![]() | includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container.
| UIComponent | |
![]() | inheritingStyles : Object
The beginning of this component's chain of inheriting styles.
| UIComponent | |
![]() | initialized : 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 | |
![]() | instanceIndex : int
[read-only]
The index of a repeated component.
| UIComponent | |
![]() | instanceIndices : Array
An Array containing the indices required to reference
this UIComponent object from its parent document.
| UIComponent | |
| interactive : Boolean
Determines whether DataTips appear when users interact
with chart data on the screen.
| Series | ||
![]() | internalStyleName : Object
The name of a class selector this instance inherits values from.
| DualStyleObject | |
![]() | isDocument : 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 | |
![]() | isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up.
| UIComponent | |
![]() | labelContainer : Sprite
[read-only]
| ChartElement | |
| legendData : Array
[read-only]
An Array of LegendData instances that describe the items
that should show up in a legend representing this series.
| Series | ||
![]() | loaderInfo : LoaderInfo
[read-only]
Returns a LoaderInfo object containing information about loading the file
to which this display object belongs.
| DisplayObject | |
![]() | mask : DisplayObject
The calling display object is masked by the specified mask object.
| DisplayObject | |
![]() | maxHeight : Number
Number that specifies the maximum height of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | maxWidth : Number
Number that specifies the maximum width of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | measuredHeight : Number
The default height of the component, in pixels.
| UIComponent | |
![]() | measuredMinHeight : Number
The default minimum height of the component, in pixels.
| UIComponent | |
![]() | measuredMinWidth : Number
The default minimum width of the component, in pixels.
| UIComponent | |
![]() | measuredWidth : Number
The default width of the component, in pixels.
| UIComponent | |
![]() | minHeight : Number
Number that specifies the minimum height of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | minWidth : Number
Number that specifies the minimum width of the component,
in pixels, in the component's coordinates.
| UIComponent | |
![]() | moduleFactory : IFlexModuleFactory | UIComponent | |
![]() | mouseChildren : Boolean
Determines whether or not the children of the object are mouse enabled.
| DisplayObjectContainer | |
![]() | mouseEnabled : Boolean
Specifies whether this object receives mouse messages.
| InteractiveObject | |
![]() | mouseFocusEnabled : Boolean
Whether you can receive focus when clicked on.
| UIComponent | |
![]() | mouseX : Number
[read-only]
Indicates the x coordinate of the mouse position, in pixels.
| DisplayObject | |
![]() | mouseY : Number
[read-only]
Indicates the y coordinate of the mouse position, in pixels.
| DisplayObject | |
![]() | name : String
Indicates the instance name of the DisplayObject.
| DisplayObject | |
![]() | nestLevel : int
Depth of this object in the containment hierarchy.
| UIComponent | |
![]() | nonInheritingStyles : Object
The beginning of this component's chain of non-inheriting styles.
| UIComponent | |
![]() | numAutomationChildren : int
[read-only]
| UIComponent | |
![]() | numChildren : int
[read-only]
Returns the number of children of this object.
| DisplayObjectContainer | |
![]() | opaqueBackground : Object
Specifies whether the display object is opaque with a certain background color.
| DisplayObject | |
![]() | owner : DisplayObjectContainer
The owner of this UIComponent.
| UIComponent | |
![]() | parent : DisplayObjectContainer
[read-only]
The parent container or component for this component.
| UIComponent | |
![]() | parentApplication : Object
[read-only]
A reference to the Application object that contains this UIComponent
instance.
| UIComponent | |
![]() | parentDocument : Object
[read-only]
A reference to the parent document object for this UIComponent.
| UIComponent | |
![]() | percentHeight : Number
Number that specifies the height of a component as a percentage
of its parent's size.
| UIComponent | |
![]() | percentWidth : Number
Number that specifies the width of a component as a percentage
of its parent's size.
| UIComponent | |
![]() | processedDescriptors : Boolean
Set to true after immediate or deferred child creation,
depending on which one happens.
| UIComponent | |
![]() | prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | |
![]() | repeater : IRepeater
[read-only]
A reference to the Repeater object
in the parent document that produced this UIComponent.
| UIComponent | |
![]() | repeaterIndex : int
[read-only]
The index of the item in the data provider
of the Repeater that produced this UIComponent.
| UIComponent | |
![]() | repeaterIndices : 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 | |
![]() | repeaters : Array
An Array containing references to the Repeater objects
in the parent document that produced this UIComponent.
| UIComponent | |
![]() | root : 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 | |
![]() | rotation : Number
Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation.
| DisplayObject | |
![]() | scale9Grid : Rectangle
The current scaling grid that is in effect.
| DisplayObject | |
![]() | scaleX : Number
Number that specifies the horizontal scaling factor.
| UIComponent | |
![]() | scaleY : Number
Number that specifies the vertical scaling percentage.
| UIComponent | |
![]() | screen : Rectangle
[read-only]
Returns an object that contains the size and position of the base
drawing surface for this object.
| UIComponent | |
![]() | scrollRect : Rectangle
The scroll rectangle bounds of the display object.
| DisplayObject | |
![]() | showInAutomationHierarchy : Boolean
| UIComponent | |
![]() | soundTransform : SoundTransform
Controls sound within this sprite.
| Sprite | |
![]() | stage : Stage
[read-only]
The Stage of the display object.
| DisplayObject | |
![]() | states : Array
The view states that are defined for this component.
| UIComponent | |
![]() | styleDeclaration : CSSStyleDeclaration
Storage for the inline inheriting styles on this object.
| UIComponent | |
![]() | styleName : Object
The class style used by this component.
| UIComponent | |
![]() | systemManager : ISystemManager
Returns the SystemManager object used by this component.
| UIComponent | |
![]() | tabChildren : Boolean
Determines whether the children of the object are tab enabled.
| DisplayObjectContainer | |
![]() | tabEnabled : Boolean
Specifies whether this object is in the tab order.
| InteractiveObject | |
![]() | tabIndex : int
Specifies the tab ordering of objects in a SWF file.
| InteractiveObject | |
![]() | textSnapshot : TextSnapshot
[read-only]
Returns a TextSnapshot object for this DisplayObjectContainer instance.
| DisplayObjectContainer | |
![]() | toolTip : String
Text to display in the ToolTip.
| UIComponent | |
![]() | transform : Transform
An object with properties pertaining to a display object's matrix, color transform, and pixel bounds.
| DisplayObject | |
| transitionRenderData : Object
A render data structure passed in by a running transtion.
| Series | ||
![]() | transitions : Array
An Array of Transition objects, where each Transition object defines a
set of effects to play when a view state change occurs.
| UIComponent | |
![]() | tweeningProperties : Array
Array of properties that are currently being tweened on this object.
| UIComponent | |
![]() | uid : String
A unique identifier for the object.
| UIComponent | |
![]() | updateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required).
| UIComponent | |
![]() | useHandCursor : 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 | |
![]() | validationSubField : String
Used by a validator to associate a subfield with this component.
| UIComponent | |
![]() | visible : Boolean
Controls the visibility of this UIComponent.
| UIComponent | |
![]() | width : Number
Number that specifies the width of the component, in pixels,
in the parent's coordinates.
| UIComponent | |
![]() | x : Number
Number that specifies the component's horizontal position,
in pixels, within its parent container.
| UIComponent | |
![]() | y : Number
Number that specifies the component's vertical position,
in pixels, within its parent container.
| UIComponent | |
| Property | Defined By | ||
|---|---|---|---|
![]() | chart : ChartBase
[read-only]
Refers to the chart component containing this element.
| ChartElement | |
![]() | cursor : IViewCursor
Each ChartElement carries a cursor associated with their dataProvider
for their own internal use.
| ChartElement | |
| renderData : Object
[read-only]
Stores the information necessary to render this series.
| Series | ||
![]() | unscaledHeight : 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 | |
![]() | unscaledWidth : 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 | |
| Method | Defined By | ||
|---|---|---|---|
|
Series()
Constructor.
| Series | ||
![]() |
| ChartElement | |
![]() |
Adds a child DisplayObject instance to this DisplayObjectContainer
instance.
| ChartElement | |
![]() |
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 | |
![]() |
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 | |
|
Called by the SeriesInterpolate effect to initiate an interpolation.
| Series | ||
![]() |
Queues a function to be called later.
| UIComponent | |
![]() |
| ChartElement | |
|
Called by the chart to allow associated elements
to claim style selectors from its chartSeriesStyles Array.
| Series | ||
![]() |
Deletes a style property from this component instance.
| UIComponent | |
![]() |
| ChartElement | |
![]() |
Determines whether the specified display object is a child of the DisplayObjectContainer instance or
the instance itself.
| DisplayObjectContainer | |
![]() |
Converts a Point object from content coordinates to global coordinates.
| UIComponent | |
![]() |
Converts a Point object from content to local coordinates.
| UIComponent | |
![]() |
| UIComponent | |
![]() |
| UIComponent | |
![]() |
| UIComponent | |
![]() |
| ChartElement | |
![]() |
Returns a UITextFormat object corresponding to the text styles
for this UIComponent.
| UIComponent | |
![]() | UIComponent | ||
![]() |
Shows or hides the focus indicator around this component.
| UIComponent | |
![]() |
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 | |
![]() |
Called by the effect instance when it stops playing on the component.
| UIComponent | |
![]() |
Called by the effect instance when it starts playing on the component.
| UIComponent | |
![]() |
Ends all currently playing effects on the component.
| UIComponent | |
|
Called by the SeriesInterpolate effect to end an interpolation.
| Series | ||
![]() |
Executes the data bindings into this UIComponent object.
| UIComponent | |
![]() |
Finds the closest data point represented by the element
under the given coordinates.
| ChartElement | |
![]() |
Called after printing is complete.
| UIComponent | |
![]() |
| UIComponent | |
![]() |
Returns a rectangle that defines the area of the display object relative to the coordinate system
of the targetCoordinateSpace object.
| DisplayObject | |
![]() |
Returns the child display object instance that exists at the specified index.
| DisplayObjectContainer | |
![]() |
Returns the child display object that exists with the specified name.
| DisplayObjectContainer | |
![]() |
Returns the index position of a child DisplayObject instance.
| DisplayObjectContainer | |
![]() |
Finds the type selectors for this UIComponent instance.
| UIComponent | |
|
Fills in the elementBounds, bounds,
and visibleBounds properties of a renderData
structure generated by this series.
| Series | ||
![]() |
A convenience method for determining whether to use the
explicit or measured height
| UIComponent | |
![]() |
A convenience method for determining whether to use the
explicit or measured width
| UIComponent | |
![]() |
Gets the object that currently has focus.
| UIComponent | |
![]() |
Returns an array of objects that lie under the specified point and are children
(or grandchildren, and so on) of this DisplayObjectContainer instance.
| DisplayObjectContainer | |
![]() |
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 | |
|
Returns a copy of the data needed to represent this series's data.
| Series | ||
![]() |
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 | |
![]() |
Gets a style property that has been set anywhere in this
component's style lookup chain.
| UIComponent | |
![]() |
Converts a Point object from global to content coordinates.
| UIComponent | |
![]() |
Converts the point object from the Stage (global) coordinates
to the display object's (local) coordinates.
| DisplayObject | |
![]() |
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event.
| EventDispatcher | |
![]() |
Indicates whether an object has a specified property defined.
| Object | |
![]() |
Evaluates the display object to see if it overlaps or intersects with the
obj display object.
| DisplayObject | |
![]() |
Evaluates the display object to see if it overlaps or intersects with the
point specified by the x and y parameters.
| DisplayObject | |
![]() |
Returns a box Matrix which can be passed to the
drawRoundRect() method
as the rot parameter when drawing a horizontal gradient.
| UIComponent | |
![]() |
Initializes the internal structure of this component.
| UIComponent | |
![]() |
Initializes various properties which keep track of repeated instances
of this component.
| UIComponent | |
|
Called by the SeriesInterpolate effect to advance an interpolation.
| Series | ||
![]() |
Marks a component so that its updateDisplayList()
method gets called during a later screen update.
| UIComponent | |
![]() |
Marks a component so that its commitProperties()
method gets called during a later screen update.
| UIComponent | |
![]() |
Marks a component so that its measure()
method gets called during a later screen update.
| UIComponent | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | |
![]() |
Converts a Point object from local to content coordinates.
| UIComponent | |
![]() |
Converts the point object from the display object's (local) coordinates to the
Stage (global) coordinates.
| DisplayObject | |
![]() |
Called when the mapping of one or more associated axes changes.
| ChartElement | |
![]() |
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 | |
![]() |
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 | |
![]() |
Moves the component to a specified position within its parent.
| UIComponent | |
![]() |
Propagate style changes to the children.
| UIComponent | |
![]() |
Returns true if the chain of owner properties
points from child to this UIComponent.
| UIComponent | |
![]() |
Called by Flex when a UIComponent object is added to or removed from a parent.
| UIComponent | |
![]() |
Prepares an IFlexDisplayObject for printing.
| UIComponent | |
![]() |
Indicates whether the specified property exists and is enumerable.
| Object | |
![]() |
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 | |
![]() |
For each effect event, register the EffectManager
as one of the event listeners.
| UIComponent | |
![]() |
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
| DisplayObjectContainer | |
![]() |
Removes a child DisplayObject from the specified index position in the child list of
the DisplayObjectContainer.
| DisplayObjectContainer | |
![]() |
Removes a listener from the EventDispatcher object.
| EventDispatcher | |
![]() |
| UIComponent | |
![]() |
| UIComponent | |
![]() |
[static]
Resumes the background processing of methods
queued by callLater(), after a call to
suspendBackgroundProcessing().
| UIComponent | |
|
Sizes the object.
| Series | ||
![]() |
Changes the position of an existing child in the display object container.
| DisplayObjectContainer | |
![]() |
Set the current state.
| UIComponent | |
![]() |
Sets the focus to this component.
| UIComponent | |
![]() |
Sets the availability of a dynamic property for loop operations.
| Object | |
![]() |
Sets a style property on this component instance.
| UIComponent | |
![]() |
Called when the visible property changes.
| UIComponent | |
![]() |
Lets the user drag the specified sprite.
| Sprite | |
![]() |
Ends the startDrag() method.
| Sprite | |
![]() |
Detects changes to style properties.
| UIComponent | |
|
Calls the legendDataChanged() method.
| Series | ||
![]() |
[static]
Blocks the background processing of methods
queued by callLater(),
until resumeBackgroundProcessing() is called.
| UIComponent | |
![]() |
Swaps the z-order (front-to-back order) of the two specified child objects.
| DisplayObjectContainer | |
![]() |
Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the
child list.
| DisplayObjectContainer | |
![]() |
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application.
| FlexSprite | |
![]() |
| UIComponent | |
![]() |
Validate and update the properties and layout of this object
and redraw it, if necessary.
| UIComponent | |
![]() |
Used by layout logic to validate the properties of a component
by calling the commitProperties() method.
| UIComponent | |
![]() |
| UIComponent | |
![]() |
Handles both the valid and invalid events from a
validator assigned to this component.
| UIComponent | |
![]() |
Returns the primitive value of the specified object.
| Object | |
![]() |
Returns a box Matrix which can be passed to drawRoundRect()
as the rot parameter when drawing a vertical gradient.
| UIComponent | |
![]() |
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type.
| EventDispatcher | |
| Method | Defined By | ||
|---|---|---|---|
![]() |
Adjust the focus rectangle.
| UIComponent | |
![]() |
This is an internal method used by the Flex framework
to support the Dissolve effect.
| UIComponent | |
|
Caches the values stored in the measureName property
from the original dataProvider items in the chart item's
fieldName property.
| Series | ||
|
Caches the values stored in the measureName property
from the original dataProvider items in the chart item's
fieldName property.
| Series | ||
|
Caches the values stored in the measureName property
from the original dataProvider items in the chart item's
fieldName property.
| Series | ||
![]() |
Performs any final processing after child objects are created.
| UIComponent | |
![]() |
Processes the properties set on the component.
| UIComponent | |
![]() |
Create child objects of the component.
| UIComponent | |
![]() |
Creates a unique id to represent the a dataPoint
for comparison purposes.
| ChartElement | |
![]() |
Indicates the underlying data represented by the element has changed.
| ChartElement | |
|
Extracts the minimum value, maximum value, and, optionally,
the minimum interval from an array of ChartItems.
| Series | ||
|
extractMinMax(cache:Array, measureName:String, desc:DataDescription, calculateInterval:Boolean = false):void
Extracts the minimum value, maximum value, and, optionally,
the minimum interval from an array of ChartItems.
| Series | ||
![]() |
The event handler called when a UIComponent object gets focus.
| UIComponent | |
![]() |
The event handler called when a UIComponent object loses focus.
| UIComponent | |
|
getMissingInterpolationValues(sourceProps:Object, srcCache:Array, destProps:Object, destCache:Array, index:Number, customData:Object):void
Fills in missing values in an interpolation structure.
| Series | ||
![]() |
Finalizes the initialization of this component.
| UIComponent | |
![]() |
Initializes this component's accessibility code.
| UIComponent | |
|
initializeInterpolationData(srcCache:Array, dstCache:Array, iProps:Object, cacheType:Class = null, customData:Object = null):Object
Helper function for Series to implement the interpolation effect.
| Series | ||
|
Informs the series that the underlying data
in the dataProvider has changed.
| Series | ||
|
Informs the series that the filter of the data against the axes
has changed and must be recalculated.
| Series | ||
|
Informs the series that the mapping of the data into numeric values
has changed and must be recalculated.
| Series | ||
|
Informs the series that the transform the data to screen coordinates
has changed and must be recalculated.
| Series | ||
|
Informs the series that a significant change has occured
in the display of data.
| Series | ||
![]() |
Typically overridden by components containing UITextField objects,
where the UITextField object gets focus.
| UIComponent | |
![]() |
The event handler called for a keyDown event.
| UIComponent | |
![]() |
The event handler called for a keyUp event.
| UIComponent | |
|
Updates the Legend items when the series display name changes
by dispatching a new LegendDataChanged event.
| Series | ||
![]() |
Calculates the default size, and optionally the default minimum size,
of the component.
| UIComponent | |
![]() |
Called when a new dataProvider is assigned to the element.
| ChartElement | |
|
Removes any item from the provided cache whose field
property is NaN.
| Series | ||
|
This method is called when the underlying data that the series represents
has changed and needs to be reloaded out of the data provider.
| Series | ||
|
Draws the object and/or sizes and positions its children.
| Series | ||
|
This method is called when the underlying data the series represents
needs to be filtered against the ranges represented by the axes
of the associated DataTransform.
| Series | ||
|
This method is called when the underlying data the series represents
needs to be mapped to numeric representations.
| Series | ||
|
This method is called when the underlying data the series represents
needs to be transformed from data to screen values
by the axes of the associated DataTransform.
| Series | ||
|
Calls the series's updateData() and
updateMapping() functions, if necessary.
| Series | ||
|
Calls the series's updateFilter() and
updateTransform() functions, if necessary.
| Series | ||
| dataTransform | property |
dataTransform:DataTransform [write-only]
The data dataTransform the element is associated with. A data dataTransform represents an association between a set of elements and a set of axis objects used to dataTransform those elements from data space to screen coordinates and back. A chart element uses its associated dataTransform to calculate how to render its data.
public function set dataTransform(value:DataTransform):void
| displayName | property |
displayName:String [read-write] The name of the series, for display to the user. This property is used to represent the series in user-visible labels, such as DataTips.
public function get displayName():String
public function set displayName(value:String):void
| filterData | property |
filterData:Boolean [read-write]
This property is true if the series filters its data
before displaying.
If a series renders data that contains missing values
(such as null, undefined, or NaN),
or renders values outside the range of the chart axes,
this property should be set to true (the default).
If you know that all of the data in the series is valid,
you can set this to false to improve performance
public function get filterData():Boolean
public function set filterData(value:Boolean):void
| interactive | property |
interactive:Boolean [read-write]
Determines whether DataTips appear when users interact
with chart data on the screen.
Set to false to prevent the series
from showing DataTips or generating hitData.
The default value is true.
public function get interactive():Boolean
public function set interactive(value:Boolean):void
| legendData | property |
legendData:Array [read-only] An Array of LegendData instances that describe the items that should show up in a legend representing this series. Derived series classes override this getter and return LegendData specific to their styles and data representation method. While most series types return only a single LegendData instance, some series types, such as PieSeries and StackedSeries, return multiple instances representing individual items in the array, or multiple ways of rendering data.
public function get legendData():Array
| renderData | property |
renderData:Object [read-only] Stores the information necessary to render this series.
protected function get renderData():Object
| transitionRenderData | property |
transitionRenderData:Object [read-write]
A render data structure passed in by a running transtion.
When a series effect is set to play on a series, it first captures
the current state of the series by asking for its render data.
The transition modifies the render data to create the desired effect,
and passes the structure back to the series for display.
If the transitionRenderData property is non-null,
a series uses its contents to update its display.
public function get transitionRenderData():Object
public function set transitionRenderData(value:Object):void
| Series | () | Constructor |
public function Series()
Constructor.
| beginInterpolation | () | method |
public function beginInterpolation(sourceRenderData:Object, destRenderData:Object):Object
Called by the SeriesInterpolate effect to initiate an interpolation.
The effect passes in the source and destination data
for the series to interpolate between.
The effect passes the return value of this method
repeatedly to the series's interpolate() method
to advance the animation of the duration of the effect.
The series calculates the data it needs to
perform the interpolation and returns it in this method.
Parameters
sourceRenderData:Object — The source data for the series to interpolate between.
|
|
destRenderData:Object — The destination data for the series to interpolate between.
|
Object — The data the series needs to perform the interpolation.
|
| cacheDefaultValues | () | method |
protected function cacheDefaultValues(measureName:String, cache:Array, fieldName:String):Boolean
Caches the values stored in the measureName property
from the original dataProvider items in the chart item's
fieldName property.
If the measureName property is null
or the empty string, it assumes the original dataProvider items
are raw values and caches them instead.
Parameters
measureName:String |
|
cache:Array |
|
fieldName:String |
Boolean |
| cacheIndexValues | () | method |
protected function cacheIndexValues(measureName:String, cache:Array, fieldName:String):Boolean
Caches the values stored in the measureName property
from the original dataProvider items in the chart item's
fieldName property.
If the measureName property is null
or the empty string, it stores the index of the items
in the fieldName property instead.
Parameters
measureName:String |
|
cache:Array |
|
fieldName:String |
Boolean |
| cacheNamedValues | () | method |
protected function cacheNamedValues(measureName:String, cache:Array, fieldName:String):Boolean
Caches the values stored in the measureName property
from the original dataProvider items in the chart item's
fieldName property.
Parameters
measureName:String |
|
cache:Array |
|
fieldName:String |
Boolean |
| claimStyles | () | method |
public override function claimStyles(styles:Array, firstAvailable:uint):uint
Called by the chart to allow associated elements
to claim style selectors from its chartSeriesStyles Array.
Each chart has an associated set of selectors that are
implicitly assigned to contained elements that require them.
Implementing this function gives an element a chance to 'claim'
elements out of that set, as necessary.
An element that requires N style selectors claims the values
from styles[firstAvailable] to
styles[firstAvailable + N - 1].
Elements return the new value for firstAvailable
after claiming any styles (for example,
firstAvailable + N).
Parameters
styles:Array — An Array of styles to claim.
|
|
firstAvailable:uint — The first style selector in the Array to claim.
|
uint |
| endInterpolation | () | method |
public function endInterpolation(interpolationData:Object):void
Called by the SeriesInterpolate effect to end an interpolation. The effect uses this method to complete the interpolation and clean up any temporary state associated with the effect.
Parameters
interpolationData:Object |
| extractMinInterval | () | method |
protected function extractMinInterval(cache:Array, measureName:String, desc:DataDescription):void
Extracts the minimum value, maximum value, and, optionally, the minimum interval from an array of ChartItems. Derived classes can call this method from their DescribeData implementations to fill in the details of the DataDescription structure.
Parameters
cache:Array |
|
measureName:String |
|
desc:DataDescription |
| extractMinMax | () | method |
protected function extractMinMax(cache:Array, measureName:String, desc:DataDescription, calculateInterval:Boolean = false):void
Extracts the minimum value, maximum value, and, optionally, the minimum interval from an array of ChartItems. Derived classes can call this method from their DescribeData implementations to fill in the details of the DataDescription structure.
Parameters
cache:Array |
|
measureName:String |
|
desc:DataDescription |
|
calculateInterval:Boolean (default = false) |
| getElementBounds | () | method |
public function getElementBounds(renderData:Object):void
Fills in the elementBounds, bounds,
and visibleBounds properties of a renderData
structure generated by this series.
Effect classes call this function to fill in these fields
for use in implementing various effect types.
Derived classes should implement this function
to generate the bounds of the series's items only when requested.
Parameters
renderData:Object |
| getMissingInterpolationValues | () | method |
protected function getMissingInterpolationValues(sourceProps:Object, srcCache:Array, destProps:Object, destCache:Array, index:Number, customData:Object):void
Fills in missing values in an interpolation structure.
When a series calls the initializeInterpolationData() method,
it passes in an Array of source and destination values
for the interpolation.
If either of those two Arrays are incomplete, the series needs
to provide "appropriate" placeholder values for the interpolation.
How those placeholder values are determined
is specific to the series type.
Series extenders should override this method
to provide those placeholder values.
Parameters
sourceProps:Object — An object containing the source values
being interpolated for a particular item.
When this method exits, all properties in this Object
should have non-NaN values.
|
|
srcCache:Array — The Array of source chart items that are being interpolated.
|
|
destProps:Object — An Object containing the destination values
that are being interpolated for a particular item.
When this method exits, all properties in this Object
should have non-NaN values.
|
|
destCache:Array — The Array of destination chart items that are being interpolated.
|
|
index:Number — The index of the item that is being populated in the cache.
|
|
customData:Object — The data that was passed by the series
into the initializeInterpolationData() method.
|
| getRenderDataForTransition | () | method |
public function getRenderDataForTransition(type:String):Object
Returns a copy of the data needed to represent this series's data. This method is called by SeriesEffects to capture the before and after state of the series for animation.
If you implement a custom series type, you generally do not override this method.
Instead, you
should override the renderData() accessor.
Parameters
type:String — Indicates whether the effect is requesting
a description of the data being hidden, or the new data being shown.
|
Object |
| initializeInterpolationData | () | method |
protected function initializeInterpolationData(srcCache:Array, dstCache:Array, iProps:Object, cacheType:Class = null, customData:Object = null):Object
Helper function for Series to implement the interpolation effect.
A custom series can call this function from its
beginInterpolation() method to initialize
a data structure to interpolate an arbitrary set
of numeric properties over the life of the effect.
You can pass that data structure to the
applyInterpolation() utility method to actually modify
the values when your interpolate() method is called.
Parameters
srcCache:Array — An array of objects whose fields
contain the beginning values for the interpolation.
|
|
dstCache:Array — An array of objects whose fields
contain the ending values for the interpolation.
|
|
iProps:Object — A hashtable whose keys identify the names
of the properties from the cache to be interpolated.
|
|
cacheType:Class (default = null) — The class to instantiate that holds the delta values
computed for the interpolation.
Typically this is null,
in which case a generic Object is used.
|
|
customData:Object (default = null) — An object containing series-specific data.
When the initialization process encounters a missing value,
it calls the series's getMissingInterpolationValues()
method to fill in the missing value.
This custom data is passed to that method,
and can be used to pass through arbitrary parameters.
|
Object |
| interpolate | () | method |
public function interpolate(interpolationValues:Array, interpolationData:Object):void
Called by the SeriesInterpolate effect to advance an interpolation.
The effect calls this once per frame until the interpolation
is complete.
The series is responsible for using the parameters
to render the interpolated values.
By default, the series assumes that interpolationData
is a data structure returned by the
initializeInterpolationData() method, and passes it
through to the applyInterpolation() method.
Parameters
interpolationValues:Array — An Array of Numbers, each ranging
from 0 to 1, where the nth number indicates the percentage
of the way the nth value in the data series should be
interpolated between the start and end values.
|
|
interpolationData:Object — The data returned from the
beginInterpolation() method.
|
| invalidateData | () | method |
protected function invalidateData(invalid:Boolean = true):void
Informs the series that the underlying data
in the dataProvider has changed.
This function triggers calls to the updateData(),
updateMapping(), updateFilter(),
and updateTransform() methods on the next call
to the commitProperties() method.
If any data effects are assigned to any elements of the chart,
this method also triggers the show and hide effects.
Parameters
invalid:Boolean (default = true) |
| invalidateFilter | () | method |
protected function invalidateFilter(invalid:Boolean = true):void
Informs the series that the filter of the data against the axes
has changed and must be recalculated.
Calling this method triggers calls to the updateFilter()
and updateTransform() methods on the next call
to the commitProperties() method.
If any data effects are assigned to any elements of the chart,
this method also triggers the show and hide effects.
Parameters
invalid:Boolean (default = true) |
| invalidateMapping | () | method |
protected function invalidateMapping(invalid:Boolean = true):void
Informs the series that the mapping of the data into numeric values
has changed and must be recalculated.
Calling this function triggers calls to the updateMapping(),
updateFilter(), and updateTransform() methods
on the next call to the commitProperties() method.
If any data effects are assigned to any elements of the chart,
this method also triggers the show and hide effects.
Parameters
invalid:Boolean (default = true) |
| invalidateTransform | () | method |
protected function invalidateTransform(invalid:Boolean = true):void
Informs the series that the transform the data to screen coordinates
has changed and must be recalculated.
Calling this function triggers a call to the
updateTransform() method on the next call
to the commitProperties() method.
Parameters
invalid:Boolean (default = true) |
| invalidateTransitions | () | method |
protected function invalidateTransitions():void
Informs the series that a significant change has occured in the display of data. This triggers any showData and hideData effects.
| legendDataChanged | () | method |
protected function legendDataChanged():void
Updates the Legend items when the series display name changes by dispatching a new LegendDataChanged event.
| setActualSize | () | method |
public override function setActualSize(newWidth:Number, newHeight: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
newWidth:Number — The new width for this object.
|
|
newHeight:Number — The new height for this object.
|
| stripNaNs | () | method |
protected function stripNaNs(cache:Array, field:String):void
Removes any item from the provided cache whose field
property is NaN.
Derived classes can call this method from their updateFilter()
implementation to remove any ChartItems filtered out by the axes.
Parameters
cache:Array |
|
field:String |
| stylesInitialized | () | method |
public override function stylesInitialized():void
Calls the legendDataChanged() method.
| updateData | () | method |
protected function updateData():void
This method is called when the underlying data that the series represents
has changed and needs to be reloaded out of the data provider.
If you implement custom series types, you should override this method
and load all data necessary to render the series
out of the backing data provider.
You must also be sure to call the super.updateData() method
in your subclass.
You do not generally call this method directly.
Instead, to guarantee that your data has been updated
at a given point, call the validateData() method
of the Series class.
| 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.
|
| updateFilter | () | method |
protected function updateFilter():void
This method is called when the underlying data the series represents
needs to be filtered against the ranges represented by the axes
of the associated DataTransform.
This can happen either because the underlying data has changed,
or because the range of the associated axes have changed.
If you implement a custom series type, you should override this method
and filter out any outlying data using the filterCache()
method of the axes managed by its associated DataTransform.
The filterCache() method converts any values
out of range to NaN.
You must be sure to call the super.updateFilter() method
in your subclass.
You should not generally call this method directly.
Instead, if you need to guarantee that your data has been filtered
at a given point, call the validateTransform() method
of the Series class.
You can generally assume that your updateData()
and updateMapping() methods have been called
prior to this method, if necessary.
| updateMapping | () | method |
protected function updateMapping():void
This method is called when the underlying data the series represents
needs to be mapped to numeric representations.
This can happen either because the underlying data has changed,
or because the axes used to render the series have changed
in some relevant way.
If you implement a custom series, you should override this method
and convert the data represented into numeric values
using the mapCache() method of the axes
managed by its associated DataTransform.
You must also be sure to call the super.updateMapping() method
in your subclass.
You should not generally call this method directly.
Instead, to guarantee that your data has been mapped
at a given point, call the validateData() method
of the Series class.
You can generally assume that your updateData() method
has been called prior to this method, if necessary.
| updateTransform | () | method |
protected function updateTransform():void
This method is called when the underlying data the series represents
needs to be transformed from data to screen values
by the axes of the associated DataTransform.
This can happen either because the underlying data has changed,
because the range of the associated axes have changed,
or because the size of the area on screen has changed.
If you implement a custom series type, you should override this method
and transform the data using the transformCache() method
of the associated DataTransform.
You must be sure to call the super.updateTransform() method
in your subclass.
You should not generally call this method directly.
Instead, if you need to guarantee that your data has been filtered
at a given point, call the valiateTransform() method
of the Series class.
You can generally assume that your updateData(),
updateMapping(), and updateFilter() methods
have been called prior to this method, if necessary.
| validateData | () | method |
protected function validateData():void
Calls the series's updateData() and
updateMapping() functions, if necessary.
This function is called automatically by the series
during commitProperties, as necessary,
but a derived series might call it explicitly
if the generated values are needed at an explicit time.
Loading and mapping of data against the axes is defined
to be acceptable at any point by the axes;
this function is safe to call explicitly at any point.
| validateTransform | () | method |
protected function validateTransform():void
Calls the series's updateFilter() and
updateTransform() functions, if necessary.
This function is called automatically by the series
during commitProperties(), as necessary,
but a derived series might call it explicitly,
if the generated values are needed at an explicit time.
Filtering and transforming of data relies on specific values
calculated by the axes, which can, in turn,
depend on the data displayed in the chart.
Calling this function at the wrong time might result
in extra work being done if those values are updated.
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/Series.html