Package | org.axiis.layouts.scale |
Class | public class DateTimeScale |
Inheritance | DateTimeScale ![]() ![]() ![]() |
Implements | IScale |
Method | Defined By | ||
---|---|---|---|
![]() | invalidate():void
Marks this IScale as needing its minValue and maxValue recomputed. | AbstractScale | |
layoutToValue(layout:*, invert:Boolean = false, clamp:Boolean = false):*
Converts a layout position to a value that would arise in the
space defined by the implementing class. | DateTimeScale | ||
validate():void | DateTimeScale | ||
valueToLayout(value:*, invert:Boolean = false, clamp:Boolean = false):*
Converts a value to a position in layout space. | DateTimeScale |
Method | Defined By | ||
---|---|---|---|
![]() | computeMax():*
Returns the maximum value from the dataProvider. | ContinuousScale | |
![]() | computeMin():*
Returns the minimum value from the dataProvider. | ContinuousScale | |
computeSum():* | DateTimeScale |
computeSum | () | method |
override protected function computeSum():*
Returns* |
layoutToValue | () | method |
public function layoutToValue(layout:*, invert:Boolean = false, clamp:Boolean = false):*
Converts a layout position to a value that would arise in the space defined by the implementing class. For example, LinearScale converts a layout position to a Number between minValue and maxValue, whether or not that Number is actually present within the dataProvider. CategoricalScale, on the other hand, will only convert layout positions to values found within the dataProvider.
Parameters
layout:* — layout position to translate into a value.
| |
invert:Boolean (default = false )
| |
clamp:Boolean (default = false )
|
* |
validate | () | method |
override public function validate():void
valueToLayout | () | method |
public function valueToLayout(value:*, invert:Boolean = false, clamp:Boolean = false):*
Converts a value to a position in layout space.
Parameters
value:* — The value to be converted into layout space.
| |
invert:Boolean (default = false ) — Whether the minValue translates to minLayout (false) or to maxLayout (true).
| |
clamp:Boolean (default = false )
|
* |