Enum vega_lite_4::ScaleType
source · pub enum ScaleType {
Show 16 variants
Band,
BinOrdinal,
Identity,
Linear,
Log,
Ordinal,
Point,
Pow,
Quantile,
Quantize,
Sequential,
Sqrt,
Symlog,
Threshold,
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"
,"symlog"
,"log"
,"time"
,"utc"
. -
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-ordinal"
,"quantile"
,"quantize"
and"threshold"
.
Default value: please see the scale type table.
Variants§
Band
BinOrdinal
Identity
Linear
Log
Ordinal
Point
Pow
Quantile
Quantize
Sequential
Sqrt
Symlog
Threshold
Time
Utc
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
Auto Trait Implementations§
impl RefUnwindSafe for ScaleType
impl Send for ScaleType
impl Sync for ScaleType
impl Unpin for ScaleType
impl UnwindSafe for ScaleType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more