| Pacote | mx.charts.chartClasses |
| Classe | public class CartesianDataCanvas |
| Herança | CartesianDataCanvas ChartElement DualStyleObject UIComponent FlexSprite Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
Default MXML PropertydataChildren
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
The current accessibility options for this display object.
| DisplayObject | |
![]() | activeEffects : Array
[read-only]
The list of effects that are currently playing on the component,
as an Array of EffectInstance instances.
| UIComponent | |
![]() | 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]
The y-coordinate of the baseline
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 or the Adobe Integrated Runtime (AIR) 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 : NativeMenu
Specifies the context menu associated with this object.
| InteractiveObject | |
![]() | currentState : String
The current view state of the component.
| UIComponent | |
| dataChildren : Array
An array of child objects.
| CartesianDataCanvas | ||
![]() | dataProvider : Object
A data provider assigned to the this specific element.
| ChartElement | |
| dataTransform : DataTransform
[write-only]
The DataTransform object that the element is associated with.
| CartesianDataCanvas | ||
![]() | descriptor : UIComponentDescriptor
Reference to the UIComponentDescriptor, if any, that was used
by the createComponentFromDescriptor() method to create this
UIComponent instance.
| UIComponent | |
![]() | 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 | |
![]() | filters : Array
An indexed array that contains each filter object currently associated with the display object.
| DisplayObject | |
![]() | flexContextMenu : IFlexContextMenu
The context menu for this UIComponent.
| UIComponent | |
![]() | 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 | |
| horizontalAxis : IAxis
Defines the labels, tick marks, and data position
for items on the x-axis.
| CartesianDataCanvas | ||
![]() | id : String
ID of the component.
| UIComponent | |
![]() | includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container.
| UIComponent | |
| includeInRanges : Boolean
If true, the computed range of the chart is affected by this
canvas.
| CartesianDataCanvas | ||
![]() | 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 | |
![]() | 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 | |
![]() | 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
Documentation is not currently available.
| 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 factor.
| 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 | |
![]() | 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 | |
| verticalAxis : IAxis
Defines the labels, tick marks, and data position
for items on the y-axis.
| CartesianDataCanvas | ||
![]() | 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 | |
| Método | Definido por | ||
|---|---|---|---|
|
Constructor.
| CartesianDataCanvas | ||
|
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
| CartesianDataCanvas | ||
|
Adds a child DisplayObject instance to this DisplayObjectContainer
instance.
Adds a child DisplayObject instance to this DisplayObjectContainer
instance.
| CartesianDataCanvas | ||
|
Adds the specified display object as a child to the current canvas.
| CartesianDataCanvas | ||
![]() |
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 | |
|
beginBitmapFill(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false):void
Fills a drawing area with a bitmap image.
| CartesianDataCanvas | ||
|
Specifies a simple one-color fill that subsequent calls to other
Graphics methods (such as lineTo() or drawCircle()) use when drawing.
| CartesianDataCanvas | ||
![]() |
Queues a function to be called later.
| UIComponent | |
![]() |
| ChartElement | |
![]() |
| ChartElement | |
|
Clears the canvas of all graphical elements.
| CartesianDataCanvas | ||
![]() |
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 | |
|
Draws a curve using the current line style from the current drawing position
to (anchorX, anchorY) and using the control point that (controlX,
controlY) specifies.
| CartesianDataCanvas | ||
|
| CartesianDataCanvas | ||
![]() |
| UIComponent | |
|
| CartesianDataCanvas | ||
![]() |
Returns a UITextFormat object corresponding to the text styles
for this UIComponent.
| UIComponent | |
![]() | UIComponent | ||
|
Draws a circle.
| CartesianDataCanvas | ||
|
Draws an ellipse.
| CartesianDataCanvas | ||
![]() |
Shows or hides the focus indicator around this component.
| UIComponent | |
|
Draws a rectangle.
| CartesianDataCanvas | ||
| CartesianDataCanvas | |||
![]() |
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 | |
|
Applies a fill to the lines and curves that were added since the last call to the
beginFill(), beginGradientFill(), or
beginBitmapFill() method.
| CartesianDataCanvas | ||
![]() |
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 | |
![]() |
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 | |
![]() |
| 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 | |
![]() |
Returns a layout constraint value, which is the same as
getting the constraint style for this component.
| UIComponent | |
![]() |
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 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 | |
|
Marks a component so that its updateDisplayList()
method gets called during a later screen update.
| CartesianDataCanvas | ||
![]() |
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 | |
|
lineStyle(thickness:Number, color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false, scaleMode:String = "normal", caps:String = null, joints:String = null, miterLimit:Number = 3):void
Specifies a line style that Flash uses for subsequent calls to other
Graphics methods (such as lineTo() or drawCircle()) for the object.
| CartesianDataCanvas | ||
|
Draws a line using the current line style from the current drawing position to (x, y);
the current drawing position is then set to (x, y).
| CartesianDataCanvas | ||
![]() |
Converts a Point object from local to content coordinates.
| UIComponent | |
|
| CartesianDataCanvas | ||
![]() |
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.
| CartesianDataCanvas | ||
![]() |
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 | |
|
Moves the current drawing position to (x, y).
| CartesianDataCanvas | ||
![]() |
Propagates 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, registers the EffectManager
as one of the event listeners.
| UIComponent | |
|
Removes all data children (DisplayObject instances) of the canvas.
| CartesianDataCanvas | ||
|
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
| CartesianDataCanvas | ||
|
Removes a child DisplayObject from the specified index position in the child list of
the DisplayObjectContainer.
| CartesianDataCanvas | ||
![]() |
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.
| UIComponent | |
![]() |
Changes the position of an existing child in the display object container.
| DisplayObjectContainer | |
![]() |
Sets a layout constraint value, which is the same as
setting the constraint style for this component.
| UIComponent | |
![]() |
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 | |
![]() |
Flex calls the stylesInitialized() method when
the styles for a component are first initialized.
| UIComponent | |
![]() |
[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 | |
|
Updates the position of any child to current canvas.
| CartesianDataCanvas | ||
![]() |
| 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 | |
| Método | Definido por | ||
|---|---|---|---|
![]() |
Adjust the focus rectangle.
| UIComponent | |
![]() |
This is an internal method used by the Flex framework
to support the Dissolve effect.
| UIComponent | |
![]() |
Performs any final processing after child objects are created.
| UIComponent | |
|
Processes the properties set on the component.
| CartesianDataCanvas | ||
![]() |
Create child objects of the component.
| UIComponent | |
![]() |
Creates a unique id to represent the a dataPoint
for comparison purposes.
| ChartElement | |
![]() |
Creates a new object using a context
based on the embedded font being used.
| UIComponent | |
![]() |
Creates the object using a given moduleFactory.
| UIComponent | |
![]() |
Indicates the underlying data represented by the element has changed.
| ChartElement | |
![]() |
The event handler called when a UIComponent object gets focus.
| UIComponent | |
![]() |
The event handler called when a UIComponent object loses focus.
| UIComponent | |
![]() |
Finalizes the initialization of this component.
| UIComponent | |
![]() |
Initializes this component's accessibility code.
| UIComponent | |
|
Informs the canvas that the underlying data
in the data provider has changed.
| CartesianDataCanvas | ||
![]() |
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 | |
![]() |
Calculates the default size, and optionally the default minimum size,
of the component.
| UIComponent | |
![]() | InteractiveObject | ||
![]() |
Called when a new dataProvider is assigned to the element.
| ChartElement | |
![]() |
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 | |
|
Removes any item from the provided cache whose field
property is NaN.
| CartesianDataCanvas | ||
|
Draws the object and/or sizes and positions its children.
| CartesianDataCanvas | ||
| CartesianDataCanvas | |||
| CartesianDataCanvas | |||
| CartesianDataCanvas | |||
| dataChildren | propriedade |
dataChildren:Array [read-write] An array of child objects.
public function get dataChildren():Array
public function set dataChildren(value:Array):void
| dataTransform | propriedade |
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.
public function set dataTransform(value:DataTransform):void
| horizontalAxis | propriedade |
horizontalAxis:IAxis [read-write] Defines the labels, tick marks, and data position for items on the x-axis. Use either the LinearAxis class or the CategoryAxis class to set the properties of the horizontal axis as a child tag in MXML or create a LinearAxis or CategoryAxis object in ActionScript.
public function get horizontalAxis():IAxis
public function set horizontalAxis(value:IAxis):void
| includeInRanges | propriedade |
includeInRanges:Boolean [read-write]
If true, the computed range of the chart is affected by this
canvas.
public function get includeInRanges():Boolean
public function set includeInRanges(value:Boolean):void
| verticalAxis | propriedade |
verticalAxis:IAxis [read-write] Defines the labels, tick marks, and data position for items on the y-axis. Use either the LinearAxis class or the CategoryAxis class to set the properties of the vertical axis as a child tag in MXML or create a LinearAxis or CategoryAxis object in ActionScript.
public function get verticalAxis():IAxis
public function set verticalAxis(value:IAxis):void
| CartesianDataCanvas | () | Construtor |
public function CartesianDataCanvas()
Constructor.
| addChild | () | método |
public override function addChild(child:DisplayObject):DisplayObject
Adds a child DisplayObject instance to this DisplayObjectContainer instance. The child is added to the front (top) of all other children in this DisplayObjectContainer instance. (To add a child to a specific index position, use the
addChildAt() method.)
If you add a child object that already has a different display object container as a parent, the object is removed from the child list of the other display object container.
Parâmetros
child:DisplayObject |
DisplayObject |
| addChildAt | () | método |
public override function addChildAt(child:DisplayObject, index:int):DisplayObject
Adds a child DisplayObject instance to this DisplayObjectContainer instance. The child is added at the index position specified. An index of 0 represents the back (bottom) of the display list for this DisplayObjectContainer object.
If you add a child object that already has a different display object container as a parent, the object is removed from the child list of the other display object container.
Adds a child DisplayObject instance to this DisplayObjectContainer instance. The child is added at the index position specified. An index of 0 represents the back (bottom) of the display list for this DisplayObjectContainer object.For exemplo, the following exemplo shows three display objects, labeled a, b, and c, at index positions 0, 2, and 1, respectively:

If you add a child object that already has a different display object container as a parent, the object is removed from the child list of the other display object container.
Parâmetros
child:DisplayObject — The DisplayObject instance to add as a child of this
DisplayObjectContainer instance.
|
|
index:int — The index position to which the child is added. If you specify a
currently occupied index position, the child object that exists at that position and all
higher positions are moved up one position in the child list.
|
DisplayObject — The DisplayObject instance that you pass in the
child parameter.
|
| addDataChild | () | método |
public function addDataChild(child:DisplayObject, left:*, top:*, right:*, bottom:*, hCenter:*, vCenter:*):void
Adds the specified display object as a child to the current canvas.
Parâmetros
child:DisplayObject — The display object that is to be added as a child to current canvas.
|
|
left:* — Left x-coordinate of the child in data coordinates.
|
|
top:* — Top y-coordinate of the child in data coordinates.
|
|
right:* — Right x-coordinate of the child in data coordinates.
|
|
bottom:* — Bottom y-coordinate of the child in data coordinates.
|
|
hCenter:* — Middle x-coordinate of the child in data coordinates.
|
|
vCenter:* — Middle y-coordinate of the child in data coordinates.
|
| beginBitmapFill | () | método |
public function beginBitmapFill(bitmap:BitmapData, matrix:Matrix = null, repeat:Boolean = true, smooth:Boolean = false):void
Fills a drawing area with a bitmap image. The bitmap can be repeated or tiled to fill
the area. The fill remains in effect until you call the beginFill(),
beginBitmapFill(), or beginGradientFill() method.
Calling the clear() method clears the fill.
The fill is not rendered until the endFill() method is
called.
The coordinates that you pass to this method are relative to the canvas's horizontal axis and vertical axis.
Parâmetros
bitmap:BitmapData — A transparent or opaque bitmap image that contains the bits to be displayed.
|
|
matrix:Matrix (default = null) — A matrix object (of the flash.geom.Matrix class), which you can use to
define transformations on the bitmap. For instance, you can use the following matrix
to rotate a bitmap by 45 degrees (pi/4 radians):
matrix = new flash.geom.Matrix(); matrix.rotate(Math.PI/4); |
|
repeat:Boolean (default = true) — If true, the bitmap image repeats in a tiled pattern. If
false, the bitmap image does not repeat, and the edges of the bitmap are
used for any fill area that extends beyond the bitmap.
For exemplo, consider the following bitmap (a 20 x 20-pixel checkerboard pattern):
When
When
|
|
smooth:Boolean (default = false) — If false, upscaled bitmap images are rendered by using a
nearest-neighbor algorithm and look pixelated. If true, upscaled
bitmap images are rendered by using a bilinear algorithm. Rendering by using the nearest
neighbor algorithm is usually faster.
|
| beginFill | () | método |
public function beginFill(color:uint, alpha:Number = 1.0):void
Specifies a simple one-color fill that subsequent calls to other
Graphics methods (such as lineTo() or drawCircle()) use when drawing.
The fill remains in effect until you call the beginFill(),
beginBitmapFill(), or beginGradientFill() method.
Calling the clear() method clears the fill.
The fill is not rendered until the endFill() method is
called.
Parâmetros
color:uint — The color of the fill (0xRRGGBB).
|
|
alpha:Number (default = 1.0) — The alpha value of the fill (0.0 to 1.0).
|
| clear | () | método |
public function clear():void
Clears the canvas of all graphical elements.
| 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.
| curveTo | () | método |
public function curveTo(controlX:Number, controlY:Number, anchorX:Number, anchorY:Number):void
Draws a curve using the current line style from the current drawing position
to (anchorX, anchorY) and using the control point that (controlX,
controlY) specifies. The current drawing position is then set to
(anchorX, anchorY). If the movie clip in which you are
drawing contains content created with the Flash drawing tools, calls to the
curveTo() method are drawn underneath this content. If you call the
curveTo() method before any calls to the moveTo() method,
the default of the current drawing position is (0, 0). If any of the parameters are
missing, this method fails and the current drawing position is not changed.
The curve drawn is a quadratic Bezier curve. Quadratic Bezier curves consist of two anchor points and one control point. The curve interpolates the two anchor points and curves toward the control point.

The coordinates that you pass to this method are in terms of chart data rather than screen coordinates.
Parâmetros
controlX:Number — A number that specifies the horizontal position of the control
point relative to the registration point of the parent display object.
|
|
controlY:Number — A number that specifies the vertical position of the control
point relative to the registration point of the parent display object.
|
|
anchorX:Number — A number that specifies the horizontal position of the next anchor
point relative to the registration point of the parent display object.
|
|
anchorY:Number — A number that specifies the vertical position of the next anchor
point relative to the registration point of the parent display object.
|
| dataToLocal | () | método |
| describeData | () | método |
public override function describeData(dimension:String, requiredFields:uint):Array
Parâmetros
dimension:String |
|
requiredFields:uint |
Array |
| drawCircle | () | método |
public function drawCircle(x:Number, y:Number, radius:Number):void
Draws a circle. You must set the line style, fill, or both before
you call the drawCircle() method, by calling the linestyle(),
lineGradientStyle(), beginFill(), beginGradientFill(),
or beginBitmapFill() method.
The coordinates that you pass to this method are in terms of chart data rather than screen coordinates.
Parâmetros
x:Number — The x location of the center of the circle relative to the
registration point of the parent display object (in pixels).
|
|
y:Number — The y location of the center of the circle relative to the
registration point of the parent display object (in pixels).
|
|
radius:Number — The radius of the circle (in pixels).
|
| drawEllipse | () | método |
public function drawEllipse(x:Number, y:Number, width:Number, height:Number):void
Draws an ellipse. You must set the line style, fill, or both before
you call the drawEllipse() method, by calling the linestyle(),
lineGradientStyle(), beginFill(), beginGradientFill(),
or beginBitmapFill() method.
The coordinates that you pass to this method are in terms of chart data rather than screen coordinates.
Parâmetros
x:Number — The x location of the center of the ellipse relative to the
registration point of the parent display object (in pixels).
|
|
y:Number — The y location of the center of the ellipse relative to the
registration point of the parent display object (in pixels).
|
|
width:Number — The width of the ellipse (in pixels).
|
|
height:Number — The height of the ellipse (in pixels).
|
| drawRect | () | método |
public function drawRect(x:Number, y:Number, width:Number, height:Number):void
Draws a rectangle. You must set the line style, fill, or both before
you call the drawRect() method, by calling the linestyle(),
lineGradientStyle(), beginFill(), beginGradientFill(),
or beginBitmapFill() method.
The coordinates that you pass to this method are in terms of chart data rather than screen coordinates.
Parâmetros
x:Number — A number indicating the horizontal position relative to the
registration point of the parent display object (in pixels).
|
|
y:Number — A number indicating the vertical position relative to the
registration point of the parent display object (in pixels).
|
|
width:Number — The width of the rectangle (in pixels).
|
|
height:Number — The height of the rectangle (in pixels).
|
| drawRoundedRect | () | método |
public function drawRoundedRect(left:*, top:*, right:*, bottom:*, cornerRadius:Number):void
The coordinates that you pass to this method are in terms of chart data rather than screen coordinates.
Parâmetros
left:* |
|
top:* |
|
right:* |
|
bottom:* |
|
cornerRadius:Number |
| endFill | () | método |
public function endFill():void
Applies a fill to the lines and curves that were added since the last call to the
beginFill(), beginGradientFill(), or
beginBitmapFill() method. Flash uses the fill that was specified in the previous
call to the beginFill(), beginGradientFill(), or beginBitmapFill()
method. If the current drawing position does not equal the previous position specified in a
moveTo() method and a fill is defined, the path is closed with a line and then
filled.
| invalidateData | () | método |
protected function invalidateData(invalid:Boolean = true):void
Informs the canvas that the underlying data
in the data provider has changed.
This method triggers calls to the updateMapping()
and updateTransform() methods on the next call
to the commitProperties() method.
Parâmetros
invalid:Boolean (default = true) |
| invalidateDisplayList | () | método |
public override function invalidateDisplayList():void
Marks a component so that its
updateDisplayList()
method gets called during a later screen update.
Invalidation is a useful mechanism for eliminating duplicate work by delaying processing of changes to a component until a later screen update. For exemplo, if you want to change the width and height, it would be wasteful to update the component immediately after you change the width and then update again with the new height. It is more efficient to change both properties and then render the component with its new size once.
Invalidation methods rarely get called. In general, setting a property on a component automatically calls the appropriate invalidation method.
| lineStyle | () | método |
public function lineStyle(thickness:Number, color:uint = 0, alpha:Number = 1.0, pixelHinting:Boolean = false, scaleMode:String = "normal", caps:String = null, joints:String = null, miterLimit:Number = 3):void
Specifies a line style that Flash uses for subsequent calls to other
Graphics methods (such as lineTo() or drawCircle()) for the object.
The line style remains in effect until you call the lineGradientStyle()
method or the lineStyle() method with different parameters.
You can call lineStyle() in the middle of drawing a path to specify different
styles for different line segments within the path.
Note: Calls to the clear() method set the line style back to
undefined.
Parâmetros
thickness:Number — An integer that indicates the thickness of the line in
points; valid values are 0 to 255. If a number is not specified, or if the
parameter is undefined, a line is not drawn. If a value of less than 0 is passed,
the default is 0. The value 0 indicates hairline thickness; the maximum thickness
is 255. If a value greater than 255 is passed, the default is 255.
|
|||||||||||
color:uint (default = 0) — A hexadecimal color value of the line; for exemplo, red is 0xFF0000, blue is
0x0000FF, and so on. If a value is not indicated, the default is 0x000000 (black). Optional.
|
|||||||||||
alpha:Number (default = 1.0) — A number that indicates the alpha value of the color of the line;
valid values are 0 to 1. If a value is not indicated, the default is 1 (solid). If
the value is less than 0, the default is 0. If the value is greater than 1, the default is 1.
|
|||||||||||
pixelHinting:Boolean (default = false) — A Boolean value that specifies whether to hint strokes
to full pixels. This affects both the position of anchors of a curve and the line stroke size
itself. With pixelHinting set to true, line widths are adjusted
to full pixel widths. With pixelHinting set to false, disjoints can
appear for curves and straight lines. For exemplo, the following illustrations show how
Flash Player or the Adobe Integrated Runtime (AIR) renders two rounded rectangles that are identical, except that the
pixelHinting parameter used in the lineStyle() method is set
differently (the images are scaled by 200%, to emphasize the difference):
If a value is not supplied, the line does not use pixel hinting. |
|||||||||||
scaleMode:String (default = "normal") — A value from the LineScaleMode class that
specifies which scale mode to use:
|
|||||||||||
caps:String (default = null) — A value from the CapsStyle class that specifies the type of caps at the end
of lines. Valid values are: CapsStyle.NONE, CapsStyle.ROUND, and CapsStyle.SQUARE.
If a value is not indicated, Flash uses round caps.
For exemplo, the following illustrations show the different
|
|||||||||||
joints:String (default = null) — A value from the JointStyle class that specifies the type of joint appearance
used at angles. Valid
values are: JointStyle.BEVEL, JointStyle.MITER, and JointStyle.ROUND.
If a value is not indicated, Flash uses round joints.
For exemplo, the following illustrations show the different
Note: For |
|||||||||||
miterLimit:Number (default = 3) — A number that indicates the limit at which a miter is cut off.
Valid values range from 1 to 255 (and values outside of that range are rounded to 1 or 255).
This value is only used if the jointStyle
is set to "miter". The
miterLimit value represents the length that a miter can extend beyond the point
at which the lines meet to form a joint. The value expresses a factor of the line
thickness. For exemplo, with a miterLimit factor of 2.5 and a
thickness of 10 pixels, the miter is cut off at 25 pixels.
For exemplo, consider the following angled lines, each drawn with a
Notice that a given
|
| lineTo | () | método |
public function lineTo(x:Number, y:Number):void
Draws a line using the current line style from the current drawing position to (x, y);
the current drawing position is then set to (x, y).
If the display object in which you are drawing contains content that was created with
the Flash drawing tools, calls to the lineTo() method are drawn underneath the content. If
you call lineTo() before any calls to the moveTo() method, the
default position for the current drawing is (0, 0). If any of the parameters are missing, this
method fails and the current drawing position is not changed.
The coordinates that you pass to this method are in terms of chart data rather than screen coordinates.
Parâmetros
x:Number — A number that indicates the horizontal position relative to the
registration point of the parent display object (in pixels).
|
|
y:Number — A number that indicates the vertical position relative to the
registration point of the parent display object (in pixels).
|
| localToData | () | método |
| mappingChanged | () | método |
public override function mappingChanged():void
Called when the mapping of one or more associated axes changes. The DataTransform assigned to this ChartElement will call this method when any of the axes it represents is modified in some way.
| moveTo | () | método |
public function moveTo(x:Number, y:Number):void
Moves the current drawing position to (x, y). If any of the parameters
are missing, this method fails and the current drawing position is not changed.
The coordinates that you pass to this method are in terms of chart data rather than screen coordinates.
Parâmetros
x:Number — A number that indicates the horizontal position relative to the
registration point of the parent display object (in pixels).
|
|
y:Number — A number that indicates the vertical position relative to the
registration point of the parent display object (in pixels).
|
| removeAllChildren | () | método |
public function removeAllChildren():void
Removes all data children (DisplayObject instances) of the canvas.
| removeChild | () | método |
public override function removeChild(child:DisplayObject):DisplayObject
Removes the specified
child DisplayObject instance from the child list of the DisplayObjectContainer instance.
The parent property of the removed child is set to null
, and the object is garbage collected if no other
references to the child exist. The index positions of any display objects above the child in the
DisplayObjectContainer are decreased by 1.
The garbage collector reallocates unused memory space. When a variable or object is no longer actively referenced or stored somewhere, the garbage collector sweeps through and wipes out the memory space it used to occupy if no other references to it exist.
Parâmetros
child:DisplayObject — The DisplayObject to remove.
|
DisplayObject — The child that was removed; this is the same
as the argument passed in.
|
| removeChildAt | () | método |
public override function removeChildAt(index:int):DisplayObject
Removes a child DisplayObject from the specified
index position in the child list of
the DisplayObjectContainer. The parent property of the removed child is set to
null, and the object is garbage collected if no other references to the child exist. The index
positions of any display objects above the child in the DisplayObjectContainer are decreased by 1.
The garbage collector reallocates unused memory space. When a variable or object is no longer actively referenced or stored somewhere, the garbage collector sweeps through and wipes out the memory space it used to occupy if no other references to it exist.
Parâmetros
index:int — The child index of the DisplayObject to remove.
|
DisplayObject — The child that was removed.
|
| 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 |
| updateDataChild | () | método |
public function updateDataChild(child:DisplayObject, left:*, top:*, right:*, bottom:*, hCenter:*, vCenter:*):void
Updates the position of any child to current canvas.
Parâmetros
child:DisplayObject — The display object that is to be updated.
|
|
left:* — Left x coordinate of the child, in data coordinates.
|
|
top:* — Top y coordinate of the child, in data coordinates.
|
|
right:* — Right x coordinate of the child, in data coordinates.
|
|
bottom:* — Bottom y coordinate of the child, in data coordinates.
|
|
hCenter:* — Middle x coordinate of the child, in data coordinates.
|
|
vCenter:* — Middle y coordinate of the child, in data coordinates.
For exemplo:
var lbl:Label = new Label();
lbl.text = "Last Month";
canvas.addChild(lbl);
canvas.updateDataChild(lbl,"Feb",200);
|
| 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
| validateData | () | método |
protected function validateData():void
| validateTransform | () | método |