[−][src]Enum vega_lite_4::LabelFlush
Indicates if labels should be hidden if they exceed the axis range. If false
(the
default) no bounds overlap analysis is performed. If true
, labels will be hidden if
they exceed the axis range by more than 1 pixel. If this property is a number, it
specifies the pixel tolerance: the maximum amount by which a label bounding box may
exceed the axis range.
Default value: false
.
Indicates if the first and last axis labels should be aligned flush with the scale range. Flush alignment for a horizontal axis will left-align the first label and right-align the last label. For vertical axes, bottom and top text baselines are applied instead. If this property is a number, it also indicates the number of pixels by which to offset the first and last labels; for example, a value of 2 will flush-align the first and last labels and also push them 2 pixels outward from the center of the axis. The additional adjustment can sometimes help the labels better visually group with corresponding axis ticks.
Default value: true
for axis of a continuous x-scale. Otherwise, false
.
Variants
Bool(bool)
Double(f64)
Trait Implementations
impl Clone for LabelFlush
[src]
pub fn clone(&self) -> LabelFlush
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LabelFlush
[src]
impl<'de> Deserialize<'de> for LabelFlush
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<bool> for LabelFlush
[src]
pub fn from(original: bool) -> LabelFlush
[src]
impl From<f64> for LabelFlush
[src]
pub fn from(original: f64) -> LabelFlush
[src]
impl Serialize for LabelFlush
[src]
Auto Trait Implementations
impl RefUnwindSafe for LabelFlush
[src]
impl Send for LabelFlush
[src]
impl Sync for LabelFlush
[src]
impl Unpin for LabelFlush
[src]
impl UnwindSafe for LabelFlush
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,