[−][src]Enum vega_lite_4::Baseline
Vertical text baseline of axis tick labels, overriding the default setting for the
current axis orientation. One of "alphabetic"
(default), "top"
, "middle"
,
"bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and "line-bottom"
values
operate similarly to "top"
and "bottom"
, but are calculated relative to the
lineHeight rather than fontSize alone.
Vertical text baseline for axis titles. One of "alphabetic"
(default), "top"
,
"middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and
"line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated
relative to the lineHeight rather than fontSize alone.
The position of the baseline of legend label, can be "top"
, "middle"
, "bottom"
, or
"alphabetic"
.
Default value: "middle"
.
Vertical text baseline for legend titles. One of "alphabetic"
(default), "top"
,
"middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and
"line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated
relative to the lineHeight rather than fontSize alone.
Default value: "top"
.
For text marks, the vertical text baseline. One of "alphabetic"
(default), "top"
,
"middle"
, "bottom"
, "line-top"
, "line-bottom"
, or an expression reference that
provides one of the valid values. The "line-top"
and "line-bottom"
values operate
similarly to "top"
and "bottom"
, but are calculated relative to the lineHeight
rather than fontSize
alone.
For range marks, the vertical alignment of the marks. One of "top"
, "middle"
,
"bottom"
.
Note: Expression reference is not supported for range marks.
Vertical text baseline for title and subtitle text. One of "alphabetic"
(default),
"top"
, "middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and
"line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated
relative to the lineHeight rather than fontSize alone.
Variants
Trait Implementations
impl Clone for Baseline
[src]
impl Debug for Baseline
[src]
impl<'de> Deserialize<'de> for Baseline
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<Baseline> for TextBaseline
[src]
pub fn from(original: Baseline) -> TextBaseline
[src]
impl From<Baseline> for PurpleTextBaseline
[src]
pub fn from(original: Baseline) -> PurpleTextBaseline
[src]
impl Serialize for Baseline
[src]
Auto Trait Implementations
impl RefUnwindSafe for Baseline
[src]
impl Send for Baseline
[src]
impl Sync for Baseline
[src]
impl Unpin for Baseline
[src]
impl UnwindSafe for Baseline
[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>,