ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
mx.charts.chartClasses 

IAxisRenderer  - AS3 Flex

Pakietmx.charts.chartClasses
Interfejspublic interface IAxisRenderer extends IUIComponent , IFlexDisplayObject , IBitmapDrawable , IEventDispatcher
Implementory AxisRenderer

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

The IAxis class is an abstract interface for defining label, tick mark, and data positioning properties for a chart axis.

Classes implement this interface to provide range definition functionality.

Powiązane elementy interfejsu API



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 InheritedaccessibilityProperties : AccessibilityProperties
Bieżące opcje dostępności tego obiektu wyświetlanego.
IFlexDisplayObject
 Inheritedalpha : Number
Wartość przezroczystości alfa określonego obiektu.
IFlexDisplayObject
  axis : IAxis
The axis object associated with this renderer.
IAxisRenderer
 InheritedbaselinePosition : Number
[tylko do odczytu] The y-coordinate of the baseline of the first line of text of the component.
IUIComponent
 InheritedblendMode : String
Wartość z klasy BlendMode określająca, jakiego trybu mieszania należy użyć.
IFlexDisplayObject
 InheritedcacheAsBitmap : Boolean
Jeśli ustawiono wartość true, środowisko wykonawcze Flash buforuje wewnętrzną reprezentację bitmapy obiektu wyświetlanego.
IFlexDisplayObject
 Inheriteddocument : Object
A reference to the document object associated with this component.
IUIComponent
 Inheritedenabled : Boolean
Whether the component can accept user interaction.
IUIComponent
 InheritedexplicitHeight : Number
The explicitly specified height for the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMaxHeight : Number
[tylko do odczytu] Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMaxWidth : Number
[tylko do odczytu] Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMinHeight : Number
[tylko do odczytu] Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitMinWidth : Number
[tylko do odczytu] Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedexplicitWidth : Number
The explicitly specified width for the component, in pixels, as the component's coordinates.
IUIComponent
 Inheritedfilters : Array
Indeksowana tablica zawierająca wszystkie filtry aktualnie skojarzone z obiektem wyświetlanym.
IFlexDisplayObject
 InheritedfocusPane : 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
 Inheritedheight : Number
Wysokość obiektu ekranowego w pikselach.
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
 InheritedincludeInLayout : Boolean
Specifies whether this component is included in the layout of the parent container.
IUIComponent
 InheritedisPopUp : Boolean
Set to true by the PopUpManager to indicate that component has been popped up.
IUIComponent
 InheritedloaderInfo : LoaderInfo
[tylko do odczytu] Zwraca obiekt LoaderInfo zawierający informacje o ładowaniu pliku, do którego należy ten obiekt wyświetlany.
IFlexDisplayObject
 Inheritedmask : DisplayObject
Wywoływany obiekt wyświetlany jest maskowany przez określony obiekt maski.
IFlexDisplayObject
 InheritedmaxHeight : Number
[tylko do odczytu] Number that specifies the maximum height of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedmaxWidth : Number
[tylko do odczytu] Number that specifies the maximum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedmeasuredHeight : Number
[tylko do odczytu] The measured height of this object.
IFlexDisplayObject
 InheritedmeasuredMinHeight : Number
The default minimum height of the component, in pixels.
IUIComponent
 InheritedmeasuredMinWidth : Number
The default minimum width of the component, in pixels.
IUIComponent
 InheritedmeasuredWidth : Number
[tylko do odczytu] The measured width of this object.
IFlexDisplayObject
 InheritedminHeight : Number
[tylko do odczytu] Number that specifies the minimum height of the component, in pixels, as the component's coordinates.
IUIComponent
  minorTicks : Array
[tylko do odczytu] Contains an array that specifies where Flex draws the minor tick marks along the axis.
IAxisRenderer
 InheritedminWidth : Number
[tylko do odczytu] Number that specifies the minimum width of the component, in pixels, as the component's coordinates.
IUIComponent
 InheritedmouseX : Number
[tylko do odczytu] Określa współrzędną x myszy lub urządzenia wejściowego użytkownika w pikselach.
IFlexDisplayObject
 InheritedmouseY : Number
[tylko do odczytu] Określa współrzędną y myszy lub urządzenia wejściowego użytkownika w pikselach.
IFlexDisplayObject
 Inheritedname : String
Nazwa instancji obiektu DisplayObject.
IFlexDisplayObject
 InheritedopaqueBackground : Object
Określa, czy przy konkretnym kolorze tła obiekt wyświetlany jest nieprzejrzysty.
IFlexDisplayObject
  otherAxes : Array
[tylko do zapisu] An Array of axes.
IAxisRenderer
 Inheritedowner : DisplayObjectContainer
The owner of this IVisualElement object.
IUIComponent
 Inheritedparent : DisplayObjectContainer
[tylko do odczytu] Odnosi się do obiektu DisplayObjectContainer, który zawiera obiekt wyświetlany.
IFlexDisplayObject
 InheritedpercentHeight : Number
Number that specifies the height of a component as a percentage of its parent's size.
IUIComponent
 InheritedpercentWidth : 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
 Inheritedroot : DisplayObject
[tylko do odczytu] Dla obiektu wyświetlanego w załadowanym pliku SWF główną właściwość stanowi obiekt wyświetlany na samym szczycie na liście wyświetlania w postaci struktury drzewa, którą reprezentuje plik SWF.
IFlexDisplayObject
 Inheritedrotation : Number
Określa wielkość obrotu instancji obiektu DisplayObject (w kątach).
IFlexDisplayObject
 Inheritedscale9Grid : Rectangle
Aktualnie stosowana siatka skalowania.
IFlexDisplayObject
 InheritedscaleX : Number
Wskazuje skalę poziomą (procent) obiektu względem punktu odniesienia.
IFlexDisplayObject
 InheritedscaleY : Number
Wskazuje skalę pionową (procent) obiektu względem punktu odniesienia.
IFlexDisplayObject
 InheritedscrollRect : Rectangle
Granice obszaru przewijania obiektu wyświetlanego.
IFlexDisplayObject
 Inheritedstage : Stage
[tylko do odczytu] Stół montażowy obiektu wyświetlanego.
IFlexDisplayObject
 InheritedsystemManager : ISystemManager
A reference to the SystemManager object for this component.
IUIComponent
  ticks : Array
[tylko do odczytu] Contains an array that specifies where Flex draws the tick marks along the axis.
IAxisRenderer
 Inheritedtransform : flash.geom:Transform
Obiekt z właściwościami dotyczącymi matrycy obiektu wyświetlanego, transformacji kolorów oraz granic pikseli.
IFlexDisplayObject
 InheritedtweeningProperties : Array
Used by EffectManager.
IUIComponent
 Inheritedvisible : Boolean
Decyduje, czy obiekt wyświetlany jest widoczny, czy nie.
IFlexDisplayObject
 Inheritedwidth : Number
Szerokość obiektu ekranowego w pikselach.
IFlexDisplayObject
 Inheritedx : Number
Oznacza współrzędną x instancji obiektu DisplayObject w lokalnym układzie współrzędnych nadrzędnego obiektu DisplayObjectContainer.
IFlexDisplayObject
 Inheritedy : Number
Oznacza współrzędną y instancji obiektu DisplayObject w lokalnym układzie współrzędnych nadrzędnego obiektu DisplayObjectContainer.
IFlexDisplayObject
Metody publiczne
 MetodaZdefiniowane przez
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu.
IEventDispatcher
  
adjustGutters(workingGutters:Rectangle, adjustable:Object):Rectangle
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
 Inherited
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń.
IEventDispatcher
 Inherited
getBounds(targetCoordinateSpace:DisplayObject):Rectangle
Zwraca prostokąt definiujący obszar obiektu wyświetlanego (w układzie współrzędnych obiektu targetCoordinateSpace).
IFlexDisplayObject
 Inherited
A convenience method for determining whether to use the explicit or measured height
IUIComponent
 Inherited
A convenience method for determining whether to use the explicit or measured width
IUIComponent
 Inherited
getRect(targetCoordinateSpace:DisplayObject):Rectangle
Zwraca prostokąt definiujący granice obiektu wyświetlanego w układzie współrzędnych określonych przez parametr targetCoordinateSpace (z wyłączeniem konturów kształtów).
IFlexDisplayObject
 Inherited
Konwertuje obiekt punktowy ze współrzędnych obiektu Stage (globalne) do współrzędnych obiektu wyświetlanego (lokalne).
IFlexDisplayObject
 Inherited
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń.
IEventDispatcher
 Inherited
Wyznacza prostokąt ograniczający obiekt wyświetlany w celu sprawdzenia, czy zachodzi on lub przecina się z prostokątem ograniczającym obiektu wyświetlanego obj.
IFlexDisplayObject
 Inherited
hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean
Analizuje obiekt wyświetlany w celu ustalenia czy nakłada się on lub przecina punkt określony przez parametry x i y.
IFlexDisplayObject
 Inherited
Initialize the object.
IUIComponent
 Inherited
Konwertuje obiekt punktowy ze współrzędnych obiektu wyświetlanego (lokalne) do współrzędnych obiektu Stage (globalne).
IFlexDisplayObject
 Inherited
Moves this object to the specified x and y coordinates.
IFlexDisplayObject
 Inherited
owns(displayObject:DisplayObject):Boolean
Returns true if the chain of owner properties points from child to this UIComponent.
IUIComponent
 Inherited
Called by Flex when a UIComponent object is added to or removed from a parent.
IUIComponent
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Usuwa detektor z obiektu EventDispatcher.
IEventDispatcher
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
Sets the actual size of this object.
IFlexDisplayObject
 Inherited
setVisible(value:Boolean, noEvent:Boolean = false):void
Called when the visible property changes.
IUIComponent
 Inherited
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych.
IEventDispatcher
Szczegół właściwości

axis

właściwość
axis:IAxis

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.



Implementacja
    public function get axis():IAxis
    public function set axis(value:IAxis):void

gutters

właściwość 
gutters:Rectangle

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.



Implementacja
    public function get gutters():Rectangle
    public function set gutters(value:Rectangle):void

heightLimit

właściwość 
heightLimit:Number

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.



Implementacja
    public function get heightLimit():Number
    public function set heightLimit(value:Number):void

horizontal

właściwość 
horizontal:Boolean

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.



Implementacja
    public function get horizontal():Boolean
    public function set horizontal(value:Boolean):void

minorTicks

właściwość 
minorTicks:Array  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.



Implementacja
    public function get minorTicks():Array

otherAxes

właściwość 
otherAxes:Array  [tylko do zapisu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: Flash Player 9, AIR 1.1

An Array of axes.



Implementacja
    public function set otherAxes(value:Array):void

placement

właściwość 
placement:String

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.



Implementacja
    public function get placement():String
    public function set placement(value:String):void

ticks

właściwość 
ticks:Array  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.



Implementacja
    public function get ticks():Array
Szczegół metody

adjustGutters

()metoda
public function adjustGutters(workingGutters:Rectangle, adjustable:Object):Rectangle

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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).

Parametry

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.

Zwraca
Rectangle — A rectangle that defines the dimensions of the gutters, including the adjustments.

chartStateChanged

()metoda 
public function chartStateChanged(oldState:uint, v:uint):void

Wersja języka: ActionScript 3.0
Wersja produktu: Flex 3
Wersje środowiska wykonawczego: 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.

Parametry

oldState:uint — An integer representing the previous state.
 
v:uint — An integer representing the new state.





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.