| Package | flare.scale |
| Class | public class ScaleType |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor, throws an error if called, as this is an abstract class.
| ScaleType | ||
|
isOrdinal(type:String):Boolean
[static]
Tests if a given scale type indicates an ordinal scale
| ScaleType | ||
|
isQuantitative(type:String):Boolean
[static]
Tests if a given scale type indicates a quantitative scale
| ScaleType | ||
| Constant | Defined by | ||
|---|---|---|---|
| CATEGORIES : String = "categories" [static] Constant indicating a categorical scale.
| ScaleType | ||
| LINEAR : String = "linear" [static] Constant indicating a linear numeric scale.
| ScaleType | ||
| LOG : String = "log" [static] Constant indicating a log-transformed numeric scale.
| ScaleType | ||
| ORDINAL : String = "ordinal" [static] Constant indicating an ordinal scale.
| ScaleType | ||
| QUANTILE : String = "quantile" [static] Constant indicating a quantile scale.
| ScaleType | ||
| ROOT : String = "root" [static] Constant indicating a root-transformed numeric scale.
| ScaleType | ||
| TIME : String = "time" [static] Constant indicating a date/time scale.
| ScaleType | ||
| UNKNOWN : String [static] Constant indicating an unknown scale.
| ScaleType | ||
| ScaleType | () | constructor |
public function ScaleType()Constructor, throws an error if called, as this is an abstract class.
| isOrdinal | () | method |
public static function isOrdinal(type:String):BooleanTests if a given scale type indicates an ordinal scale
Parameterstype:String — the scale type
|
Boolean — true if the type indicates an ordinal scale, false otherwise
|
| isQuantitative | () | method |
public static function isQuantitative(type:String):BooleanTests if a given scale type indicates a quantitative scale
Parameterstype:String — the scale type
|
Boolean — true if the type indicates a quantitative scale,
false otherwise
|
| CATEGORIES | constant |
public static const CATEGORIES:String = "categories"Constant indicating a categorical scale.
| LINEAR | constant |
public static const LINEAR:String = "linear"Constant indicating a linear numeric scale.
| LOG | constant |
public static const LOG:String = "log"Constant indicating a log-transformed numeric scale.
| ORDINAL | constant |
public static const ORDINAL:String = "ordinal"Constant indicating an ordinal scale.
| QUANTILE | constant |
public static const QUANTILE:String = "quantile"Constant indicating a quantile scale.
| ROOT | constant |
public static const ROOT:String = "root"Constant indicating a root-transformed numeric scale.
| TIME | constant |
public static const TIME:String = "time"Constant indicating a date/time scale.
| UNKNOWN | constant |
public static const UNKNOWN:StringConstant indicating an unknown scale.