Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
mx.charts.chartClasses 

IStackable  - AS3 Flex

Pacchettomx.charts.chartClasses
Interfacciapublic interface IStackable

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

The IStackable interface is implemented by any series that can be stacked. Stacking sets (ColumnSet, BarSet, AreaSet) require that any sub-series assigned to it when stacking implement this interface.



Proprietà pubbliche
 ProprietàDefinito da
  stacker : StackedSeries
The StackedSeries associated with this series.
IStackable
  stackTotals : Dictionary
[sola scrittura] The stack totals for the series.
IStackable
Metodi pubblici
 MetodoDefinito da
  
stack(stackedXValueDictionary:Dictionary, previousElement:IStackable):Number
Stacks the series.
IStackable
Descrizione delle proprietà

stacker

proprietà
stacker:StackedSeries

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

The StackedSeries associated with this series. The stacker manages the series's stacking behavior.



Implementazione
    public function get stacker():StackedSeries
    public function set stacker(value:StackedSeries):void

stackTotals

proprietà 
stackTotals:Dictionary  [sola scrittura]

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

The stack totals for the series.



Implementazione
    public function set stackTotals(value:Dictionary):void
Descrizione dei metodi

stack

()metodo
public function stack(stackedXValueDictionary:Dictionary, previousElement:IStackable):Number

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Stacks the series. Normally, a series implements the updateData() method to load its data out of the data provider. But a stacking series performs special operations because its values are not necessarily stored in its data provider. Its values are whatever is stored in its data provider, summed with the values that are loaded by the object it stacks on top of.

A custom stacking series should implement the stack() method by loading its data out of its data provider, adding it to the base values stored in the dictionary to get the real values it should render with, and replacing the values in the dictionary with its new, summed values.

Parametri

stackedXValueDictionary:Dictionary — Contains the base values that the series should stack on top of. The keys in the dictionary are the y values, and the values are the x values.
 
previousElement:IStackable — The previous element in the stack. If, for example, the element is of the same type, you can use access to this property to avoid duplicate effort when rendering.

Restituisce
Number — The maximum value in the newly stacked series.




[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.