((Apenas para componentes do Flex Data Visualization))
Pacotemx.charts.chartClasses
Classepublic class Series
HerançaSeries Inheritance ChartElement Inheritance DualStyleObject Inheritance UIComponent Inheritance FlexSprite Inheritance Sprite Inheritance DisplayObjectContainer Inheritance InteractiveObject Inheritance DisplayObject Inheritance EventDispatcher Inheritance Object
Subclasses AreaSeries, BarSeries, BubbleSeries, ColumnSeries, HLOCSeriesBase, LineSeries, PieSeries, PlotSeries, StackedSeries

The Series class is the base class for the classes that let you specify a data series for a chart control. You use the subclasses of the Series class with the associated chart control. You can use a Series class to specify the fill pattern and stroke characteristics for the chart elements associated with the data series.



Propriedades Públicas
 PropriedadeDefinido por
 InheritedaccessibilityProperties : AccessibilityProperties
The current accessibility options for this display object.
DisplayObject
 InheritedactiveEffects : Array
[read-only] The list of effects that are currently playing on the component, as an Array of EffectInstance instances.
UIComponent
 Inheritedalpha : Number
Indicates the alpha transparency value of the object specified.
DisplayObject
 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
 InheritedbaselinePosition : Number
[read-only] The y-coordinate of the baseline 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 or the Adobe Integrated Runtime (AIR) 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
 InheritedchartDataProvider : Object
[write-only] The data provider assigned to the enclosing chart.
ChartElement
 InheritedclassName : String
[read-only] The name of this instance's class, such as "Button".
UIComponent
 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 : NativeMenu
Specifies the context menu associated with this object.
InteractiveObject
 InheritedcurrentState : String
The current view state of the component.
UIComponent
  dataFunction : Function
Specifies a method that returns the value that should be used for positioning the current chart item in the series.
Series
 InheriteddataProvider : Object
A data provider assigned to the this specific element.
ChartElement
  dataTipItems : Array
Array of chart items for which data tips are to be shown non-interactively on the chart
Series
  dataTransform : DataTransform
[write-only] The DataTransform object that the element is associated with.
Series
 Inheriteddescriptor : 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
 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
  filterData : Boolean
This property is true if the series filters its data before displaying.
Series
 Inheritedfilters : Array
An indexed array that contains each filter object currently associated with the display object.
DisplayObject
 InheritedflexContextMenu : IFlexContextMenu
The context menu for this UIComponent.
UIComponent
 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
 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
  interactive : Boolean
Determines whether DataTips appear when users interact with chart data on the screen.
Series
 InheritedinternalStyleName : Object
The name of a class selector this instance inherits values from.
DualStyleObject
 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
  items : Array
[read-only] Gets all the items that are there in the series after filtering.
Series
 InheritedlabelContainer : 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
 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
Documentation is not currently available.
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
 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 factor.
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
  selectable : Boolean
Specifies whether a series is selectable or not.
Series
  selectedIndex : int
Index of the selected item in the series' data provider.
Series
  selectedIndices : Array
An Array of indices of the selected items in the series' data provider.
Series
  selectedItem : ChartItem
The chart item that is selected in the series.
Series
  selectedItems : Array
An Array of chart items that are selected in the series.
Series
 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
  transitionRenderData : Object
A render data structure passed in by a running transtion.
Series
 Inheritedtransitions : Array
An Array of Transition objects, where each Transition object defines a set of effects to play when a view state change occurs.
UIComponent
 InheritedtweeningProperties : Array
Array of properties that are currently being tweened on this object.
UIComponent
 Inheriteduid : String
A unique identifier for the object.
UIComponent
 InheritedupdateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases of layout validation (provided that any were required).
UIComponent
 InheriteduseHandCursor : Boolean
A Boolean value that indicates whether the pointing hand (hand cursor) appears when the mouse rolls over a sprite in which the buttonMode property is set to true.
Sprite
 InheritedvalidationSubField : String
Used by a validator to associate a subfield with this component.
UIComponent
 Inheritedvisible : Boolean
Controls the visibility of this UIComponent.
UIComponent
 Inheritedwidth : Number
Number that specifies the width of the component, in pixels, in the parent's coordinates.
UIComponent
 Inheritedx : Number
Number that specifies the component's horizontal position, in pixels, within its parent container.
UIComponent
 Inheritedy : Number
Number that specifies the component's vertical position, in pixels, within its parent container.
UIComponent
Propriedades Protegidas
 PropriedadeDefinido por
 Inheritedchart : ChartBase
[read-only] Refers to the chart component containing this element.
ChartElement
 Inheritedcursor : 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
 InheritedresourceManager : IResourceManager
[write-only] A reference to the object which manages all of the application's localized resources.
UIComponent
 InheritedunscaledHeight : Number
[read-only] A convenience method for determining the unscaled height of the component.
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
Métodos Públicos
 MétodoDefinido por
  
Constructor.
Series
 Inherited
ChartElement
 Inherited
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
ChartElement
 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
  
beginInterpolation(sourceRenderData:Object, destRenderData:Object):Object
Called by the SeriesInterpolate effect to initiate an interpolation.
Series
 Inherited
callLater(method:Function, args:Array = null):void
Queues a function to be called later.
UIComponent
 Inherited
ChartElement
  
claimStyles(styles:Array, firstAvailable:uint):uint
Series
 Inherited
clearStyle(styleProp:String):void
Deletes a style property from this component instance.
UIComponent
 Inherited
collectTransitions(chartState:Number, transitions:Array):void
ChartElement
 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
 Inherited
dataToLocal(... dataValues):Point
ChartElement
 Inherited
UIComponent
 Inherited
describeData(dimension:String, requiredFields:uint):Array
ChartElement
 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
  
endInterpolation(interpolationData:Object):void
Called by the SeriesInterpolate effect to end an interpolation.
Series
 Inherited
executeBindings(recurse:Boolean = false):void
Executes the data bindings into this UIComponent object.
UIComponent
 Inherited
findDataPoints(x:Number, y:Number, sensitivity2:Number):Array
Finds the closest data point represented by the element under the given coordinates.
ChartElement
 Inherited
Called after printing is complete.
UIComponent
 Inherited
Returns an array of HitData of the items of all the underlying ChartElements whose dataTips are to be shown when showAllDataTips is set to true on chart
ChartElement
 Inherited
UIComponent
  
getAxis(dimension:String):IAxis
Retrieves the Axis instance for a particular dimension of the chart.
Series
 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
getConstraintValue(constraintName:String):*
Returns a layout constraint value, which is the same as getting the constraint style for this component.
UIComponent
  
Fills in the elementBounds, bounds, and visibleBounds properties of a renderData structure generated by this series.
Series
 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
  
Gets all the items that are there in a rectangular region for the series.
Series
 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
  
Returns a copy of the data needed to represent this series's data.
Series
 Inherited
getRepeaterItem(whichRepeater:int = -1):Object
Returns the item in the dataProvider that was used by the specified Repeater to produce this Repeater, or null if this Repeater isn't repeated.
UIComponent
 Inherited
getStyle(styleProp:String):*
Gets a style property that has been set anywhere in this component's style lookup chain.
UIComponent
 Inherited
Converts a Point object from global to content coordinates.
UIComponent
 Inherited
Converts the point object from the Stage (global) coordinates to the display object's (local) coordinates.
DisplayObject
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 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
  
interpolate(interpolationValues:Array, interpolationData:Object):void
Called by the SeriesInterpolate effect to advance an interpolation.
Series
 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
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
Converts a Point object from local to content coordinates.
UIComponent
 Inherited
ChartElement
 Inherited
Converts the point object from the display object's (local) coordinates to the Stage (global) coordinates.
DisplayObject
 Inherited
Called when the mapping of one or more associated axes changes.
ChartElement
 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
Propagates 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, registers 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
  
Sizes the object.
Series
  
setAxis(dimension:String, value:IAxis):void
Assigns an axis instance to a particular dimension of the chart.
Series
 Inherited
Changes the position of an existing child in the display object container.
DisplayObjectContainer
 Inherited
setConstraintValue(constraintName:String, value:*):void
Sets a layout constraint value, which is the same as setting the constraint style for this component.
UIComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
Set the current state.
UIComponent
 Inherited
Sets the focus to this component.
UIComponent
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
setStyle(styleProp:String, newValue:*):void
Sets a style property on this component instance.
UIComponent
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the visible property changes.
UIComponent
 Inherited
startDrag(lockCenter:Boolean = false, bounds:Rectangle = null):void
Lets the user drag the specified sprite.
Sprite
 Inherited
Ends the startDrag() method.
Sprite
 Inherited
styleChanged(styleProp:String):void
Detects changes to style properties.
UIComponent
  
Calls the legendDataChanged() method.
Series
 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
Métodos Protegidos
 MétodoDefinido por
 Inherited
Adjust the focus rectangle.
UIComponent
 Inherited
This is an internal method used by the Flex framework to support the Dissolve effect.
UIComponent
  
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.
Series
  
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.
Series
  
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.
Series
 Inherited
Performs any final processing after child objects are created.
UIComponent
  
Processes the properties set on the component.
Series
 Inherited
Create child objects of the component.
UIComponent
 Inherited
createDataID(dataPointID:Number):Number
Creates a unique id to represent the a dataPoint for comparison purposes.
ChartElement
 Inherited
Creates a new object using a context based on the embedded font being used.
UIComponent
 Inherited
Creates the object using a given moduleFactory.
UIComponent
 Inherited
Indicates the underlying data represented by the element has changed.
ChartElement
  
extractMinInterval(cache:Array, measureName:String, desc:DataDescrição):void
Extracts the minimum value, maximum value, and, optionally, the minimum interval from an array of ChartItems.
Series
  
extractMinMax(cache:Array, measureName:String, desc:DataDescrição, calculateInterval:Boolean = false):void
Extracts the minimum value, maximum value, and, optionally, the minimum interval from an array of ChartItems.
Series
 Inherited
The event handler called when a UIComponent object gets focus.
UIComponent
 Inherited
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
 Inherited
Finalizes the initialization of this component.
UIComponent
 Inherited
Initializes this component's accessibility code.
UIComponent
  
initializeInterpolationData(srcCache:Array, dstCache:Array, iProps:Object, cacheType:Classe = null, customData:Object = null):Object
Helper function for Series to implement the interpolation effect.
Series
  
invalidateData(invalid:Boolean = true):void
Informs the series that the underlying data in the dataProvider has changed.
Series
  
invalidateFilter(invalid:Boolean = true):void
Informs the series that the filter of the data against the axes has changed and must be recalculated.
Series
  
invalidateMapping(invalid:Boolean = true):void
Informs the series that the mapping of the data into numeric values has changed and must be recalculated.
Series
  
invalidateTransform(invalid:Boolean = true):void
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
 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
  
Updates the Legend items when the series display name changes by dispatching a new LegendDataChanged event.
Series
 Inherited
Calculates the default size, and optionally the default minimum size, of the component.
UIComponent
 Inherited
InteractiveObject
 Inherited
Called when a new dataProvider is assigned to the element.
ChartElement
 Inherited
This method is called when a UIComponent is constructed, and again whenever the ResourceManager dispatches a "change" Event to indicate that the localized resources have changed in some way.
UIComponent
  
stripNaNs(cache:Array, field:String):void
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
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
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
Eventos
 Evento Descrição Definido por
 Inherited Dispatched when Flash Player or the and AIR application 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 by the drag initiator when starting 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 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.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.InteractiveObject
 Inherited Dispatched when a user releases the pointing device button over an InteractiveObject instance.InteractiveObject
 Inherited Dispatched when a mouse wheel is spun over an InteractiveObject instance.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 by the drag initiator DisplayObject when the user releases the drag gesture.DisplayObject
 Inherited Dispatched by the target DisplayObject when a dragged object is dropped on it and the drop has been accepted with a call to DragManager.acceptDragDrop().DisplayObject
 Inherited Dispatched by a DisplayObject when a drag gesture enters its boundary.DisplayObject
 Inherited Dispatched by a DisplayObject when a drag gesture leaves its boundary.DisplayObject
 Inherited Dispatched by a DisplayObject continually while a drag gesture remains within its boundary.DisplayObject
 Inherited Dispatched at the beginning of a drag operation by the DisplayObject that is specified as the drag initiator in the DragManager.doDrag() call.DisplayObject
 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
Estilos
 Style Descrição Definido por
 Inherited Type: String   CSS Herança: não
The vertical distance in pixels from the top edge of the content area to the control's baseline position.
UIComponent
 Inherited Type: String   CSS Herança: não
The vertical distance in pixels from the lower edge of the component to the lower edge of its content area.
UIComponent
 Inherited Type: uint   Format: Color   CSS Herança: sim
Color of the component highlight when validation fails.
UIComponent
 Inherited Type: String   CSS Herança: não
Blend mode used by the focus rectangle.
UIComponent
 Inherited Type: Classe   CSS Herança: não
Skin used to draw the focus rectangle.
UIComponent
 Inherited Type: Number   Format: Length   CSS Herança: não
Thickness, in pixels, of the focus rectangle outline.
UIComponent
 Inherited Type: String   CSS Herança: não
The horizontal distance in pixels from the center of the component's content area to the center of the component.
UIComponent
 Inherited Type: String   CSS Herança: não
The horizontal distance in pixels from the left edge of the component's content area to the left edge of the component.
UIComponent
 Inherited Type: String   CSS Herança: não
The horizontal distance in pixels from the right edge of the component to the right edge of its content area.
UIComponent
 Inherited Type: uint   Format: Color   CSS Herança: sim
Theme color of a component.
UIComponent
 Inherited
top
Type: String   CSS Herança: não
The vertical distance in pixels from the top edge of the control's content area to the top edge of the component.
UIComponent
 Inherited Type: String   CSS Herança: não
The vertical distance in pixels from the center of the component's content area to the center of the component.
UIComponent
Efeitos
 Effect Descrição Definido por
 Inherited Triggering Event: added
 Inherited Triggering Event: creationComplete
 Inherited Triggering Event: focusIn
 Inherited Triggering Event: focusOut
  
hideDataEffect
Triggering Event: hideData
Defines the effect that Flex uses as it hides the current data from view.
Series
 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
  
showDataEffect
Triggering Event: showData
Defines the effect that Flex uses as it moves the current data into its final position on the screen.
Series
 Inherited Triggering Event: show
Constantes públicas
 ConstanteDefinido por
 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
Detalhes da propriedade
dataFunctionpropriedade
dataFunction:Function  [read-write]

Specifies a method that returns the value that should be used for positioning the current chart item in the series. If this property is set, the return value of the custom data function takes precedence over the other related properties such as xField and yField for AreaSeries, BarSeries, BubbleSeries, ColumnSeries, LineSeries and PlotSeries. For BubbleSeries, the return value takes precedence over the radiusField property. For PieSeries, the return value takes precedence over the field property.

The custom dataFunction for a series has the following signature:

     function_name (series:Series, item:Object, fieldName:String):Object { ... }
     
series is the current series that uses this dataFunction. item is the item in the data provider. fieldName is the field in current ChartItem that is to be populated. This function returns an object.

You typically use the dataFunction to access fields in a data provider that are not scalar values, but are instead nested in the data provider. For exemplo, the following data requires a dataFunction to access the fields for a chart's data provider:

      {month: "Aug", close: {High:45.87,Low:12.2}, open:25.19}
      

The following exemplo dataFunction returns a value from this data provider:

     public function myDataFunction(series:Series,item:Object,fieldName:String):Object {
          if(fieldName == 'yValue')
              return(item.close.High);
          else if(fieldName == "xValue")
              return(item.month);
          else
              return null;
     }     
     


Implementação
    public function get dataFunction():Function
    public function set dataFunction(value:Function):void
dataTipItemspropriedade 
dataTipItems:Array  [read-write]

Array of chart items for which data tips are to be shown non-interactively on the chart


Implementação
    public function get dataTipItems():Array
    public function set dataTipItems(value:Array):void
dataTransformpropriedade 
dataTransform:DataTransform  [write-only]

The DataTransform object that the element is associated with. A DataTransform object represents an association between a set of elements and a set of axis objects used to transform those elements from data space to screen coordinates and back. A chart element uses its associated DataTransform object to calculate how to render its data.


Implementação
    public function set dataTransform(value:DataTransform):void
displayNamepropriedade 
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.


Implementação
    public function get displayName():String
    public function set displayName(value:String):void
filterDatapropriedade 
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


Implementação
    public function get filterData():Boolean
    public function set filterData(value:Boolean):void
interactivepropriedade 
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.


Implementação
    public function get interactive():Boolean
    public function set interactive(value:Boolean):void
itemspropriedade 
items:Array  [read-only]

Gets all the items that are there in the series after filtering.

Individual series determine the list of items that are to be returned.


Implementação
    public function get items():Array
legendDatapropriedade 
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.


Implementação
    public function get legendData():Array
renderDatapropriedade 
renderData:Object  [read-only]

Stores the information necessary to render this series.


Implementação
    protected function get renderData():Object
selectablepropriedade 
selectable:Boolean  [read-write]

Specifies whether a series is selectable or not.

The default value is true.


Implementação
    public function get selectable():Boolean
    public function set selectable(value:Boolean):void
selectedIndexpropriedade 
selectedIndex:int  [read-write]

Index of the selected item in the series' data provider. If multiple items are selected, then this property refers to the most recently selected item.


Implementação
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void
selectedIndicespropriedade 
selectedIndices:Array  [read-write]

An Array of indices of the selected items in the series' data provider.


Implementação
    public function get selectedIndices():Array
    public function set selectedIndices(value:Array):void
selectedItempropriedade 
selectedItem:ChartItem  [read-write]

The chart item that is selected in the series. If there are multiple items selected, then this property refers to the most recently selected item.


Implementação
    public function get selectedItem():ChartItem
    public function set selectedItem(value:ChartItem):void
selectedItemspropriedade 
selectedItems:Array  [read-write]

An Array of chart items that are selected in the series.


Implementação
    public function get selectedItems():Array
    public function set selectedItems(value:Array):void
transitionRenderDatapropriedade 
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.


Implementação
    public function get transitionRenderData():Object
    public function set transitionRenderData(value:Object):void
Detalhes do construtor
Series()Construtor
public function Series()

Constructor.

Detalhes do método
beginInterpolation()método
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.

Parâmetros

sourceRenderData:Object — The source data for the series to interpolate between.
 
destRenderData:Object — The destination data for the series to interpolate between.

Retorna
Object — The data the series needs to perform the interpolation.
cacheDefaultValues()método 
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.

Parâmetros

measureName:String
 
cache:Array
 
fieldName:String

Retorna
Boolean
cacheIndexValues()método 
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.

Parâmetros

measureName:String
 
cache:Array
 
fieldName:String

Retorna
Boolean
cacheNamedValues()método 
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.

Parâmetros

measureName:String
 
cache:Array
 
fieldName:String

Retorna
Boolean
claimStyles()método 
public override function claimStyles(styles:Array, firstAvailable:uint):uint

Parâmetros

styles:Array
 
firstAvailable:uint

Retorna
uint
commitProperties()método 
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.

endInterpolation()método 
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.

Parâmetros

interpolationData:Object

extractMinInterval()método 
protected function extractMinInterval(cache:Array, measureName:String, desc:DataDescrição):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 DataDescrição structure.

Parâmetros

cache:Array
 
measureName:String
 
desc:DataDescrição

extractMinMax()método 
protected function extractMinMax(cache:Array, measureName:String, desc:DataDescrição, 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 DataDescrição structure.

Parâmetros

cache:Array
 
measureName:String
 
desc:DataDescrição
 
calculateInterval:Boolean (default = false)

getAxis()método 
public function getAxis(dimension:String):IAxis

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

Parâmetros

dimension:String

Retorna
IAxis
getElementBounds()método 
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.

Parâmetros

renderData:Object

getItemsInRegion()método 
public function getItemsInRegion(r:Rectangle):Array

Gets all the items that are there in a rectangular region for the series. Call this function to determine what items are under a particular rectangular region in that series.

Individual series determine whether their chart item is under the region. The point should be in the global coordinate space.

Parâmetros

r:Rectangle — A Rectangle that defines the region.

Retorna
Array — An Array of ChartItems that are within the specified rectangular region.

Veja também

getMissingInterpolationValues()método 
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.

Parâmetros

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()método 
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.

Parâmetros

type:String — Indicates whether the effect is requesting a description of the data being hidden, or the new data being shown.

Retorna
Object
initializeInterpolationData()método 
protected function initializeInterpolationData(srcCache:Array, dstCache:Array, iProps:Object, cacheType:Classe = 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.

Parâmetros

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:Classe (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.

Retorna
Object
interpolate()método 
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.

Parâmetros

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()método 
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.

Parâmetros

invalid:Boolean (default = true)

invalidateFilter()método 
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.

Parâmetros

invalid:Boolean (default = true)

invalidateMapping()método 
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.

Parâmetros

invalid:Boolean (default = true)

invalidateTransform()método 
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.

Parâmetros

invalid:Boolean (default = true)

invalidateTransitions()método 
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()método 
protected function legendDataChanged():void

Updates the Legend items when the series display name changes by dispatching a new LegendDataChanged event.

setActualSize()método 
public override function setActualSize(w:Number, h:Number):void

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

Parâmetros

w:Number — Width of the object.
 
h:Number — Height of the object.

setAxis()método 
public function setAxis(dimension:String, value:IAxis):void

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

Parâmetros

dimension:String
 
value:IAxis

stripNaNs()método 
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.

Parâmetros

cache:Array
 
field:String

stylesInitialized()método 
public override function stylesInitialized():void

Calls the legendDataChanged() method.

updateData()método 
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()método 
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.

Parâmetros

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()método 
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()método 
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()método 
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()método 
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()método 
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.