Enum vega_lite::LegendType
source · pub enum LegendType {
Gradient,
Symbol,
}
Expand description
The type of the legend. Use "symbol"
to create a discrete legend and "gradient"
for a
continuous color gradient.
Default value: "gradient"
for non-binned quantitative fields and temporal fields;
"symbol"
otherwise.
Variants§
Trait Implementations§
source§impl Debug for LegendType
impl Debug for LegendType
source§impl<'de> Deserialize<'de> for LegendType
impl<'de> Deserialize<'de> for LegendType
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