Paket | mx.charts.chartClasses |
Klass | public class AxisBase |
Arv | AxisBase EventDispatcher Object |
Underklasser | CategoryAxis, NumericAxis |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Flex components inherit the following properties from the AxisBase class:
<mx:tagname displayName="No default" title="No default" >
Egenskap | Definieras med | ||
---|---|---|---|
chartDataProvider : Object [lässkyddad]
The data provider assigned to the enclosing chart. | AxisBase | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
displayName : String
The name of the axis. | AxisBase | ||
title : String
The text for the title displayed along the axis. | AxisBase | ||
unitSize : Number [skrivskyddad]
The size of one unit of data as represented by this axis. | AxisBase |
Metod | Definieras med | ||
---|---|---|---|
AxisBase()
Constructor. | AxisBase | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Triggers events that inform the range object
when the chart data has changed. | AxisBase | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Each DataTransform that makes use of an axis
registers itself with that axis. | AxisBase | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Each DataTransform that makes use of an axis
registers itself with that axis. | AxisBase | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Metod | Definieras med | ||
---|---|---|---|
Called by the governing DataTransform to obtain a description
of the data represented by this IChartElement. | AxisBase |
chartDataProvider | egenskap |
chartDataProvider:Object
[lässkyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The data provider assigned to the enclosing chart.
Axis types that are data provider-based can choose to inherit
the data provider associated with the enclosing chart.
If an axis is shared among multiple charts,
the value of this property is undefined
(most likely it will be the last data provider assigned
to one of the associated charts).
Implementering
public function set chartDataProvider(value:Object):void
displayName | egenskap |
displayName:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The name of the axis. If set, Flex uses this name to format DataTip controls.
Implementering
public function get displayName():String
public function set displayName(value:String):void
title | egenskap |
unitSize | egenskap |
unitSize:Number
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The size of one unit of data as represented by this axis.
This value is used by various series types to help in rendering.
The ColumnSeries class, for example, uses this value
to determine how wide columns should be rendered.
Different axis types return different values,
sometimes dependent on the data being represented.
The DateTimeAxis class, for example, might return the number
of milliseconds in a day, or a year, depending on the data
that is rendered in the chart.
Because this value is dependant on collecting the represented data,
custom series cannot assume this value is accurate in their
updateData()
or updateMapping()
methods.
Implementering
public function get unitSize():Number
AxisBase | () | Konstruktor |
public function AxisBase()
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
dataChanged | () | metod |
public function dataChanged():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Triggers events that inform the range object when the chart data has changed.
describeData | () | metod |
protected function describeData(requiredFields:uint):Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Called by the governing DataTransform to obtain a description
of the data represented by this IChartElement.
Implementors fill out and return an Array of
mx.charts.chartClasses.DataDescription objects
to guarantee that their data is correctly accounted for
by any axes that are autogenerating values
from the displayed data (such as minimum, maximum,
interval, and unitSize).
Most element types return an Array
containing a single DataDescription.
Aggregate elements, such as BarSet and ColumnSet,
might return multiple DataDescription instances
that describe the data displayed by their subelements.
When called, the implementor describes the data
along the axis indicated by the dimension
argument.
This function might be called for each axis
supported by the containing chart.
Parametrar
requiredFields:uint — A bitfield that indicates which values
of the DataDescription object the particular axis cares about.
Implementors can optimize by only calculating the necessary fields.
|
Array — An Array of BoundedValue objects containing the DataDescription instances that describe
the data that is displayed.
|
Relaterade API-element
registerDataTransform | () | metod |
public function registerDataTransform(transform:mx.charts.chartClasses:DataTransform, dimensionName:String):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Each DataTransform that makes use of an axis registers itself with that axis. The axis is responsible for informing the transform when its relevant values have changed. It should also request values from the transform when it wants to autogenerate minimum and maximum values.
Parametrar
transform:mx.charts.chartClasses:DataTransform — The DataTransform to register.
| |
dimensionName:String — The name of the dimension.
|
unregisterDataTransform | () | metod |
public function unregisterDataTransform(transform:mx.charts.chartClasses:DataTransform):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Each DataTransform that makes use of an axis registers itself with that axis. The axis is responsible for informing the transform when its relevant values have changed. It should also request values from the transform when it wants to autogenerate minimum and maximum values.
Parametrar
transform:mx.charts.chartClasses:DataTransform — The DataTransform to unregister.
|
Tue Jun 12 2018, 01:40 PM Z