Referência do ActionScript® 3.0 para Adobe® Flash® Platform
Início  |  Ocultar listas de Pacotes e Classes |  Pacotes  |  Classes  |  Novidades  |  Índice  |  Apêndices  |  Por que inglês?
Filtros: Recuperando dados do servidor...
Recuperando dados do servidor...
mx.charts.chartClasses 

PolarTransform  - AS3 Flex

Pacotemx.charts.chartClasses
Classepublic class PolarTransform
HerançaPolarTransform Inheritance DataTransform Inheritance EventDispatcher Inheritance Object

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The PolarTransform object represents a set of axes used to map data values to angle/distance polar coordinates and vice versa.

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.



Propriedades públicas
 PropriedadeDefinido por
 Inheritedaxes : Object
[somente leitura] The set of axes associated with this transform.
DataTransform
 Inheritedconstructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto.
Object
 Inheritedelements : Array
The elements that are associated with this transform.
DataTransform
  origin : Point
[somente leitura] The origin of the polar transform.
PolarTransform
  radius : Number
[somente leitura] The radius used by the transform to convert data units to polar coordinates.
PolarTransform
Métodos públicos
 MétodoDefinido por
  
Constructor.
PolarTransform
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento.
EventDispatcher
 Inherited
Informs the DataTransform that some of the underlying data being represented on the chart has changed.
DataTransform
 Inherited
describeData(dimension:String, requiredFields:uint):Array
Collects important displayed values for all elements associated with this data transform.
DataTransform
 Inherited
Envia um evento para o fluxo de eventos.
EventDispatcher
 Inherited
getAxis(dimension:String):IAxis
Retrieves the axis instance responsible for transforming the data dimension specified by the dimension parameter.
DataTransform
 Inherited
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento.
EventDispatcher
 Inherited
Indica se um objeto tem uma propriedade especificada definida.
Object
 Inherited
Transforms x and y coordinates relative to the DataTransform coordinate system into a two-dimensional value in data space.
DataTransform
 Inherited
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro.
Object
 Inherited
Indica se a propriedade especificada existe e é enumerável.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove um ouvinte do objeto EventDispatcher.
EventDispatcher
 Inherited
setAxis(dimension:String, v:IAxis):void
Assigns an axis instance to a particular dimension of the transform.
DataTransform
 Inherited
Define a disponibilidade de uma propriedade dinâmica para operações de repetição.
Object
  
setSize(width:Number, height:Number):void
Sets the width and height that the PolarTransform uses when calculating origin and radius.
PolarTransform
 Inherited
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade.
Object
 Inherited
Retorna a representação de string do objeto especificado.
Object
  
transformCache(cache:Array, aField:String, aConvertedField:String, rField:String, rConvertedField:String):void
[substituir] Maps a set of numeric values representing data to screen coordinates.
PolarTransform
 Inherited
Retorna o valor primitivo do objeto especificado.
Object
 Inherited
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado.
EventDispatcher
Eventos
 Evento Resumo Definido por
 Inherited[transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR ganha o foco do sistema operacional e está se tornando inativo.EventDispatcher
 Inherited[transmissão de evento] Despachado quando o Flash Player ou o aplicativo do AIR perde o foco do sistema operacional e está se tornando inativo.EventDispatcher
 InheritedDispatched when the transformation from data space to screen space has changed, typically either because the axes that make up the transformation have changed in some way, or the data transform itself has size.DataTransform
Constantes públicas
 ConstanteDefinido por
  ANGULAR_AXIS : String = "a"
[estático] A string representing the angular axis.
PolarTransform
  RADIAL_AXIS : String = "r"
[estático] A string representing the radial axis.
PolarTransform
Detalhes da propriedade

origin

propriedade
origin:Point  [somente leitura]

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The origin of the polar transform. This point is used by associated series to convert data units to screen coordinates.



Implementação
    public function get origin():Point

radius

propriedade 
radius:Number  [somente leitura]

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

The radius used by the transform to convert data units to polar coordinates.



Implementação
    public function get radius():Number
Detalhes do construtor

PolarTransform

()Construtor
public function PolarTransform()

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

Constructor.

Detalhes do método

setSize

()método
public function setSize(width:Number, height:Number):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: 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.

Parâmetros

width:Number — The width, in pixels, of the PolarTransform.
 
height:Number — The height, in pixels, of the PolarTransform.

transformCache

()método 
override public function transformCache(cache:Array, aField:String, aConvertedField:String, rField:String, rConvertedField:String):void

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: 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.

Parâmetros

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.

Detalhes da constante

ANGULAR_AXIS

Constante
public static const ANGULAR_AXIS:String = "a"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

A string representing the angular axis.

RADIAL_AXIS

Constante 
public static const RADIAL_AXIS:String = "r"

Versão da linguagem: ActionScript 3.0
Versão de produto: Flex 3
Versões de runtime: Flash Player 9, AIR 1.1

A string representing the radial axis.





[ X ]Por que inglês?
O conteúdo na Referência do ActionScript 3.0 aparece em inglês

Nem todas as partes da Referência do ActionScript 3.0 estão traduzidas em todos os idiomas. Quando um elemento de um idioma não está traduzido, ele é exibido em inglês. Por exemplo, a classe ga.controls.HelpBox não está traduzida em nenhum idioma. Por isso, na versão da referência em português do Brasil, a classe ga.controls.HelpBox é exibida em inglês.