((Apenas para componentes do Flex Data Visualization))
Pacotemx.charts.chartClasses
Classepublic class AxisBase
HerançaAxisBase Inheritance EventDispatcher Inheritance Object
Subclasses CategoryAxis, NumericAxis

The AxisBase class serves as a base class for the various axis types supported in Flex.

Sintaxe em MXMLexpandedHide MXML Syntax

Flex components inherit the following properties from the AxisBase class:

  <mx:tagname
    displayName="No default"
    title="No default"
  >
  


Propriedades Públicas
 PropriedadeDefinido por
  chartDataProvider : Object
[write-only] The data provider assigned to the enclosing chart.
AxisBase
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  displayName : String
The name of the axis.
AxisBase
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  title : String
The text for the title displayed along the axis.
AxisBase
  unitSize : Number
[read-only] The size of one unit of data as represented by this axis.
AxisBase
Métodos Públicos
 MétodoDefinido por
  
Constructor.
AxisBase
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
  
Triggers events that inform the range object when the chart data has changed.
AxisBase
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
registerDataTransform(transform:DataTransform, dimensionName:String):void
Each DataTransform that makes use of an axis registers itself with that axis.
AxisBase
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
  
Each DataTransform that makes use of an axis registers itself with that axis.
AxisBase
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Métodos Protegidos
 MétodoDefinido por
  
describeData(requiredFields:uint):Array
AxisBase
Eventos
 Evento Descrição Definido por
 Inherited Dispatched when Flash Player or the and AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited Dispatched when Flash Player loses operating system focus and is becoming inactive.EventDispatcher
Detalhes da propriedade
chartDataProviderpropriedade
chartDataProvider:Object  [write-only]

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).


Implementação
    public function set chartDataProvider(value:Object):void
displayNamepropriedade 
displayName:String  [read-write]

The name of the axis. If set, Flex uses this name to format DataTip controls.


Implementação
    public function get displayName():String
    public function set displayName(value:String):void
titlepropriedade 
title:String  [read-write]

The text for the title displayed along the axis.


Implementação
    public function get title():String
    public function set title(value:String):void
unitSizepropriedade 
unitSize:Number  [read-only]

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 exemplo, 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 exemplo, 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.


Implementação
    public function get unitSize():Number
Detalhes do construtor
AxisBase()Construtor
public function AxisBase()

Constructor.

Detalhes do método
dataChanged()método
public function dataChanged():void

Triggers events that inform the range object when the chart data has changed.

describeData()método 
protected function describeData(requiredFields:uint):Array

Parâmetros

requiredFields:uint

Retorna
Array
registerDataTransform()método 
public function registerDataTransform(transform:DataTransform, dimensionName:String):void

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.

Parâmetros

transform:DataTransform — The DataTransform to register.
 
dimensionName:String — The name of the dimension.

unregisterDataTransform()método 
public function unregisterDataTransform(transform:DataTransform):void

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.

Parâmetros

transform:DataTransform — The DataTransform to unregister.