pub enum ScaleType {
Band,
BinLinear,
BinOrdinal,
Linear,
Log,
Ordinal,
Point,
Pow,
Sequential,
Sqrt,
Time,
Utc,
}
Expand description
The type of scale. Vega-Lite supports the following categories of scale types:
-
Continuous Scales – mapping continuous domains to continuous output ranges (
"linear"
,"pow"
,"sqrt"
,"log"
,"time"
,"utc"
,"sequential"
). -
Discrete Scales – mapping discrete domains to discrete (
"ordinal"
) or continuous ("band"
and"point"
) output ranges. -
Discretizing Scales – mapping continuous domains to discrete output ranges (
"bin-linear"
and"bin-ordinal"
).
Default value: please see the scale type table.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ScaleType
impl<'de> Deserialize<'de> for ScaleType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more