| Package | org.axiis.layouts.scale |
| Class | public class ContinuousScale |
| Inheritance | ContinuousScale AbstractScale flash.events.EventDispatcher |
| Subclasses | DateTimeScale, LinearScale, LogScale |
| Property | Defined By | ||
|---|---|---|---|
| computedAverage : * [read-only]
The average value in the dataProvider. | ContinuousScale | ||
![]() | computedMaxValue : * [read-only]
The maximum value in the dataProvider. | AbstractScale | |
![]() | computedMinValue : * [read-only]
The minimum value in the dataProvider. | AbstractScale | |
| computedSum : * [read-only]
The sum of the value in the dataProvider. | ContinuousScale | ||
![]() | dataField : String
The name of the property of the Objects in the dataProvider
that should be used when computing min, max, sum, and average values. | AbstractScale | |
![]() | dataProvider : Object
The DataSet, ArrayCollection, Array, XML, etc. | AbstractScale | |
![]() | invalidated : Boolean [read-only]
Indicates that the scale should recalculate it's minimum and maximum
values and layouts the next time either layoutToValue or valueToLayout
is called. | AbstractScale | |
![]() | maxLayout : Number
The maximum layout position. | AbstractScale | |
![]() | maxValue : *
The maximum value allowed in this scale. | AbstractScale | |
![]() | minLayout : Number
The minimum layout position. | AbstractScale | |
![]() | minValue : *
The minimum value allowed in this scale. | AbstractScale | |
| Method | Defined By | ||
|---|---|---|---|
![]() | invalidate():void
Marks this IScale as needing its minValue and maxValue recomputed. | AbstractScale | |
validate():void
Initiates the computation of minValue and maxValue. | ContinuousScale | ||
| Method | Defined By | ||
|---|---|---|---|
computeMax():*
Returns the maximum value from the dataProvider. | ContinuousScale | ||
computeMin():*
Returns the minimum value from the dataProvider. | ContinuousScale | ||
computeSum():*
Returns the sum of the items in the dataProvider. | ContinuousScale | ||
| computedAverage | property |
computedAverage:* [read-only] The average value in the dataProvider.
This property can be used as the source for data binding.
public function get computedAverage():*| computedSum | property |
computedSum:* [read-only] The sum of the value in the dataProvider.
This property can be used as the source for data binding.
public function get computedSum():*| computeMax | () | method |
protected function computeMax():*Returns the maximum value from the dataProvider.
Returns* |
| computeMin | () | method |
protected function computeMin():*Returns the minimum value from the dataProvider.
Returns* |
| computeSum | () | method |
protected function computeSum():*Returns the sum of the items in the dataProvider.
Returns* |
| validate | () | method |
override public function validate():voidInitiates the computation of minValue and maxValue.