Paket | mx.charts.chartClasses |
Klass | public class PolarTransform |
Arv | PolarTransform DataTransform EventDispatcher Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
You typically do not need to interact with the PolarTransform object. Transforms are created automatically by the built-in chart types and are used by the series contained within to transform data into rendering coordinates.
Egenskap | Definieras med | ||
---|---|---|---|
axes : Object [skrivskyddad]
The set of axes associated with this transform. | DataTransform | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
elements : Array
The elements that are associated with this transform. | DataTransform | ||
origin : Point [skrivskyddad]
The origin of the polar transform. | PolarTransform | ||
radius : Number [skrivskyddad]
The radius used by the transform to convert data units
to polar coordinates. | PolarTransform |
Metod | Definieras med | ||
---|---|---|---|
Constructor. | PolarTransform | ||
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 | ||
Informs the DataTransform that some of the underlying data
being represented on the chart has changed. | DataTransform | ||
Collects important displayed values for all elements
associated with this data transform. | DataTransform | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Retrieves the axis instance responsible for transforming
the data dimension specified by the dimension parameter. | DataTransform | ||
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 | ||
Transforms x and y coordinates relative to the DataTransform
coordinate system into a two-dimensional value in data space. | DataTransform | ||
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 | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Assigns an axis instance to a particular dimension of the transform. | DataTransform | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Sets the width and height that the PolarTransform uses
when calculating origin and radius. | PolarTransform | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
transformCache(cache:Array, aField:String, aConvertedField:String, rField:String, rConvertedField:String):void [åsidosätt]
Maps a set of numeric values representing data to screen coordinates. | PolarTransform | ||
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 |
Konstant | Definieras med | ||
---|---|---|---|
ANGULAR_AXIS : String = "a" [statisk]
A string representing the angular axis. | PolarTransform | ||
RADIAL_AXIS : String = "r" [statisk]
A string representing the radial axis. | PolarTransform |
origin | egenskap |
radius | egenskap |
PolarTransform | () | Konstruktor |
public function PolarTransform()
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
setSize | () | metod |
public function setSize(width:Number, height:Number):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Sets the width and height that the PolarTransform uses when calculating origin and radius. The containing chart calls this method. You should not generally call this method directly.
Parametrar
width:Number — The width, in pixels, of the PolarTransform.
| |
height:Number — The height, in pixels, of the PolarTransform.
|
transformCache | () | metod |
override public function transformCache(cache:Array, aField:String, aConvertedField:String, rField:String, rConvertedField:String):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Maps a set of numeric values representing data to screen coordinates.
This method assumes the values are all numbers,
so any non-numeric values must have been previously converted
with the mapCache()
method.
Parametrar
cache:Array — An array of objects containing the data values
in their fields. This is also where this function
will store the converted numeric values.
| |
aField:String — The field where the data values for the x axis
can be found.
| |
aConvertedField:String — The field where the mapped x screen coordinate
will be stored.
| |
rField:String — The field where the data values for the y axis
can be found.
| |
rConvertedField:String — The field where the mapped y screen coordinate
will be stored.
|
ANGULAR_AXIS | Konstant |
public static const ANGULAR_AXIS:String = "a"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A string representing the angular axis.
RADIAL_AXIS | Konstant |
public static const RADIAL_AXIS:String = "r"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A string representing the radial axis.
Tue Jun 12 2018, 01:40 PM Z