Paket | mx.charts.chartClasses |
Gränssnitt | public interface IAxisRenderer extends IUIComponent , IFlexDisplayObject , IBitmapDrawable , IEventDispatcher |
Implementorer | AxisRenderer |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Classes implement this interface to provide range definition functionality.
Relaterade API-element
Egenskap | Definieras med | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties
De nuvarande hjälpmedelsalternativen för det här visningsobjektet. | IFlexDisplayObject | ||
alpha : Number
Anger det angivna objektets alfagenomskinlighetsvärde. | IFlexDisplayObject | ||
axis : IAxis
The axis object associated with this renderer. | IAxisRenderer | ||
baselinePosition : Number [skrivskyddad]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | ||
blendMode : String
Ett värde från klassen BlendMode som anger vilket blandningsläge som ska användas. | IFlexDisplayObject | ||
cacheAsBitmap : Boolean
Om det är true, sparar Flash-miljöerna en intern bitmappsrepresentation av visningsobjektet i cache-minnet. | IFlexDisplayObject | ||
document : Object
A reference to the document object associated with this component. | IUIComponent | ||
enabled : Boolean
Whether the component can accept user interaction. | IUIComponent | ||
explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxHeight : Number [skrivskyddad]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxWidth : Number [skrivskyddad]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinHeight : Number [skrivskyddad]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinWidth : Number [skrivskyddad]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
filters : Array
En indexerad array som innehåller varje filterobjekt som är associerat med visningsobjektet. | IFlexDisplayObject | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | IUIComponent | ||
gutters : Rectangle
The distance between the axisRenderer
and the sides of the surrounding chart. | IAxisRenderer | ||
height : Number
Anger visningsobjektets höjd i pixlar. | IFlexDisplayObject | ||
heightLimit : Number
The maximum amount of space, in pixels,
that an axis renderer will take from a chart. | IAxisRenderer | ||
horizontal : Boolean
true if the axis renderer
is being used as a horizontal axis. | IAxisRenderer | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | IUIComponent | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | IUIComponent | ||
loaderInfo : LoaderInfo [skrivskyddad]
Returnerar ett LoaderInfo-objekt som innehåller information om hur filen som visningsobjektet tillhör ska läsas in. | IFlexDisplayObject | ||
mask : DisplayObject
Det anropande visningsobjektet maskeras av det angivna visningsobjektet. | IFlexDisplayObject | ||
maxHeight : Number [skrivskyddad]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
maxWidth : Number [skrivskyddad]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
measuredHeight : Number [skrivskyddad]
The measured height of this object. | IFlexDisplayObject | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | IUIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | IUIComponent | ||
measuredWidth : Number [skrivskyddad]
The measured width of this object. | IFlexDisplayObject | ||
minHeight : Number [skrivskyddad]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
minorTicks : Array [skrivskyddad]
Contains an array that specifies where Flex
draws the minor tick marks along the axis. | IAxisRenderer | ||
minWidth : Number [skrivskyddad]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
mouseX : Number [skrivskyddad]
Anger x-koordinaten för musens eller användarens indataenhets position i pixlar. | IFlexDisplayObject | ||
mouseY : Number [skrivskyddad]
Anger y-koordinaten för musens eller användarens indataenhets position i pixlar. | IFlexDisplayObject | ||
name : String
Anger instansnamnet för DisplayObject. | IFlexDisplayObject | ||
opaqueBackground : Object
Anger om visningsobjektet är ogenomskinligt med en viss bakgrundsfärg. | IFlexDisplayObject | ||
otherAxes : Array [lässkyddad]
An Array of axes. | IAxisRenderer | ||
owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | ||
parent : DisplayObjectContainer [skrivskyddad]
Anger DisplayObjectContainer-objektet som innehåller visningsobjektet. | IFlexDisplayObject | ||
percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | IUIComponent | ||
percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | IUIComponent | ||
placement : String
The side of the chart the axisRenderer will appear on. | IAxisRenderer | ||
root : DisplayObject [skrivskyddad]
För ett visningsobjekt i en inläst SWF-fil är rotegenskapen det översta visningsobjektet i den del av visningslistans trädstruktur som representeras av den SWF-filen. | IFlexDisplayObject | ||
rotation : Number
Anger DisplayObject-instansens rotation i grader från den ursprungliga orienteringen. | IFlexDisplayObject | ||
scale9Grid : Rectangle
Det skalningsrutnät som används för närvarande. | IFlexDisplayObject | ||
scaleX : Number
Anger vågrät skala (i procent) för objektet utifrån dess registreringspunkt. | IFlexDisplayObject | ||
scaleY : Number
Anger lodrät skala (i procent) för objektet utifrån dess registreringspunkt. | IFlexDisplayObject | ||
scrollRect : Rectangle
Visningsobjektets gränser för rullningsrektangeln. | IFlexDisplayObject | ||
stage : Stage [skrivskyddad]
Visningsobjektets scen. | IFlexDisplayObject | ||
systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | ||
ticks : Array [skrivskyddad]
Contains an array that specifies where Flex
draws the tick marks along the axis. | IAxisRenderer | ||
transform : flash.geom:Transform
Ett objekt med egenskaper som gäller ett visningsobjekts matris, färgomformning och pixelgränser. | IFlexDisplayObject | ||
tweeningProperties : Array
Used by EffectManager. | IUIComponent | ||
visible : Boolean
Om visingsobjektet är synligt eller inte. | IFlexDisplayObject | ||
width : Number
Anger visningsobjektets bredd i pixlar. | IFlexDisplayObject | ||
x : Number
Anger x-koordinaten för DisplayObject-instansen i förhållande till de lokala koordinaterna för den överordnade DisplayObjectContainer. | IFlexDisplayObject | ||
y : Number
Anger y-koordinaten för DisplayObject-instansen i förhållande till de lokala koordinaterna för den överordnade DisplayObjectContainer. | IFlexDisplayObject |
Metod | Definieras med | ||
---|---|---|---|
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. | IEventDispatcher | ||
Adjusts its layout to accomodate the gutters passed in. | IAxisRenderer | ||
Called by the enclosing chart to indicate that the current state
of the chart has changed. | IAxisRenderer | ||
Skickar en händelse till händelseflödet. | IEventDispatcher | ||
Returnerar en rektangel som definierar visningsområdets område i relation till targetCoordinateSpace-objektets koordinatsystem. | IFlexDisplayObject | ||
A convenience method for determining whether to use the
explicit or measured height
| IUIComponent | ||
A convenience method for determining whether to use the
explicit or measured width
| IUIComponent | ||
Returnerar en rektangel som definierar visningsområdets gräns, baserat på koordinatsystemet som definieras av targetCoordinateSpace-parametern, exklusive eventuella linjer i former. | IFlexDisplayObject | ||
Konverterar punktobjektet från scenens (globala) koordinater till visningsobjektets (lokala) koordinater. | IFlexDisplayObject | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | ||
Utvärderar begränsningsramen för visningsobjektet för att kontrollera om den överlappar eller korsar begränsningsramen för obj-visningsobjektet. | IFlexDisplayObject | ||
Utvärderar visningsobjektet för att avgöra om det överlappar eller korsar den punkt som anges av x- och y-parametrarna. | IFlexDisplayObject | ||
Initialize the object. | IUIComponent | ||
Konverterar punktobjektet från visningsobjektets (lokala) koordinater till scenens (globala) koordinater. | IFlexDisplayObject | ||
Moves this object to the specified x and y coordinates. | IFlexDisplayObject | ||
Returns true if the chain of owner properties
points from child to this UIComponent. | IUIComponent | ||
Called by Flex when a UIComponent object is added to or removed from a parent. | IUIComponent | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | ||
Sets the actual size of this object. | IFlexDisplayObject | ||
Called when the visible property changes. | IUIComponent | ||
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. | IEventDispatcher |
axis | egenskap |
axis:IAxis
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The axis object associated with this renderer. This property is managed by the enclosing chart, and should not be explicitly set.
Implementering
public function get axis():IAxis
public function set axis(value:IAxis):void
gutters | egenskap |
gutters:Rectangle
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The distance between the axisRenderer and the sides of the surrounding chart. This property is assigned automatically by the chart, and should not be assigned directly.
Implementering
public function get gutters():Rectangle
public function set gutters(value:Rectangle):void
heightLimit | egenskap |
heightLimit:Number
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The maximum amount of space, in pixels, that an axis renderer will take from a chart. Axis Renderers by default will take up as much space in the chart as necessary to render all of their labels at full size. If heightLimit is set, an AxisRenderer will resort to reducing the labels in size in order to guarantee the total size of the axis is less than heightLimit.
Implementering
public function get heightLimit():Number
public function set heightLimit(value:Number):void
horizontal | egenskap |
horizontal:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
true
if the axis renderer
is being used as a horizontal axis.
This property is managed by the enclosing CartesianChart,
and should not be set directly.
Implementering
public function get horizontal():Boolean
public function set horizontal(value:Boolean):void
minorTicks | egenskap |
minorTicks:Array
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Contains an array that specifies where Flex draws the minor tick marks along the axis. Each array element contains a value between 0 and 1.
Implementering
public function get minorTicks():Array
otherAxes | egenskap |
placement | egenskap |
placement:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The side of the chart the axisRenderer will appear on.
Legal values are "left"
and "right"
for vertical axis renderers and "top"
and "bottom"
for horizontal axis renderers.
By default, primary axes are placed on the left and top,
and secondary axes are placed on the right and bottom.
CartesianCharts automatically guarantee that secondary axes
are placed opposite primary axes; if you explicitly place
a primary vertical axis on the right, for example,
the secondary vertical axis is swapped to the left.
Implementering
public function get placement():String
public function set placement(value:String):void
ticks | egenskap |
ticks:Array
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Contains an array that specifies where Flex draws the tick marks along the axis. Each array element contains a value between 0 and 1.
Implementering
public function get ticks():Array
adjustGutters | () | metod |
public function adjustGutters(workingGutters:Rectangle, adjustable:Object):Rectangle
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Adjusts its layout to accomodate the gutters passed in. This method is called by the enclosing chart to determine the size of the gutters and the corresponding data area. This method provides the AxisRenderer with an opportunity to calculate layout based on the new gutters, and to adjust them if necessary. If a given gutter is adjustable, an axis renderer can optionally adjust the gutters inward (make the gutter larger) but not outward (make the gutter smaller).
Parametrar
workingGutters:Rectangle — Defines the gutters to adjust.
| |
adjustable:Object — Consists of four Boolean properties
(left=true/false, top=true/false, right=true/false,
and bottom=true/false) that indicate whether the axis renderer
can optionally adjust each of the gutters further.
|
Rectangle — A rectangle that defines the dimensions of the gutters, including the
adjustments.
|
chartStateChanged | () | metod |
public function chartStateChanged(oldState:uint, v:uint):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Called by the enclosing chart to indicate that the current state of the chart has changed. Implementing elements should respond to this method in order to synchronize changes to the data displayed by the element.
Parametrar
oldState:uint — An integer representing the previous state.
| |
v:uint — An integer representing the new state.
|
Tue Jun 12 2018, 01:40 PM Z