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
Auto Trait Implementations§
impl Freeze for ScaleType
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