패키지 | mx.charts.chartClasses |
클래스 | public class AxisBase |
상속 | AxisBase EventDispatcher Object |
하위 클래스 | CategoryAxis, NumericAxis |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Flex components inherit the following properties from the AxisBase class:
<mx:tagname displayName="No default" title="No default" >
속성 | 정의 주체 | ||
---|---|---|---|
chartDataProvider : Object [쓰기 전용]
The data provider assigned to the enclosing chart. | AxisBase | ||
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
displayName : String
The name of the axis. | AxisBase | ||
title : String
The text for the title displayed along the axis. | AxisBase | ||
unitSize : Number [읽기 전용]
The size of one unit of data as represented by this axis. | AxisBase |
메서드 | 정의 주체 | ||
---|---|---|---|
AxisBase()
Constructor. | AxisBase | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
리스너에서 이벤트 알림을 받을 수 있도록 EventDispatcher 객체에 이벤트 리스너 객체를 등록합니다. | EventDispatcher | ||
Triggers events that inform the range object
when the chart data has changed. | AxisBase | ||
이벤트를 이벤트 흐름으로 전달합니다. | EventDispatcher | ||
EventDispatcher 객체에 특정 유형의 이벤트에 대한 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
Each DataTransform that makes use of an axis
registers itself with that axis. | AxisBase | ||
EventDispatcher 객체에서 리스너를 제거합니다. | EventDispatcher | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
Each DataTransform that makes use of an axis
registers itself with that axis. | AxisBase | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
이 EventDispatcher 객체 또는 조상 객체에 지정한 이벤트 유형에 대한 이벤트 리스너가 등록되어 있는지 여부를 확인합니다. | EventDispatcher |
메서드 | 정의 주체 | ||
---|---|---|---|
Called by the governing DataTransform to obtain a description
of the data represented by this IChartElement. | AxisBase |
chartDataProvider | 속성 |
chartDataProvider:Object
[쓰기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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).
구현
public function set chartDataProvider(value:Object):void
displayName | 속성 |
title | 속성 |
unitSize | 속성 |
unitSize:Number
[읽기 전용] 언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
구현
public function get unitSize():Number
AxisBase | () | 생성자 |
public function AxisBase()
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Constructor.
dataChanged | () | 메서드 |
public function dataChanged():void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | Flash Player 9, AIR 1.1 |
Triggers events that inform the range object when the chart data has changed.
describeData | () | 메서드 |
protected function describeData(requiredFields:uint):Array
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
매개 변수
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.
|
관련 API 요소
registerDataTransform | () | 메서드 |
public function registerDataTransform(transform:mx.charts.chartClasses:DataTransform, dimensionName:String):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
매개 변수
transform:mx.charts.chartClasses:DataTransform — The DataTransform to register.
| |
dimensionName:String — The name of the dimension.
|
unregisterDataTransform | () | 메서드 |
public function unregisterDataTransform(transform:mx.charts.chartClasses:DataTransform):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 3 |
런타임 버전: | 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.
매개 변수
transform:mx.charts.chartClasses:DataTransform — The DataTransform to unregister.
|
Tue Jun 12 2018, 03:17 PM Z