[−][src]Struct vega_lite_4::TitleParamsBuilder
Builder for TitleParams
.
Implementations
impl TitleParamsBuilder
[src]
pub fn align<VALUE: Into<Align>>(&mut self, value: VALUE) -> &mut Self
[src]
Horizontal text alignment for title text. One of "left"
, "center"
, or "right"
.
pub fn anchor<VALUE: Into<TitleAnchorEnum>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The anchor position for placing the title. One of "start"
, "middle"
, or "end"
. For
example, with an orientation of top these anchor positions map to a left-, center-, or
right-aligned title.
Default value: "middle"
for
single and
layered views. "start"
for other
composite views.
Note: For now, anchor
is only
customizable only for single and
layered views. For other composite
views, anchor
is always "start"
.
pub fn angle<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn aria<VALUE: Into<Aria>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn baseline<VALUE: Into<Baseline>>(&mut self, value: VALUE) -> &mut Self
[src]
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.
pub fn color<VALUE: Into<Color>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn dx<VALUE: Into<CornerRadiusUnion>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn dy<VALUE: Into<CornerRadiusUnion>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn font<VALUE: Into<Color>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn font_size<VALUE: Into<FontSize>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn font_style<VALUE: Into<Color>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn font_weight<VALUE: Into<FontWeightUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn frame<VALUE: Into<Color>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn limit<VALUE: Into<FontSize>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn line_height<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn offset<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn orient<VALUE: Into<TitleParamsOrient>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn style<VALUE: Into<LegendText>>(&mut self, value: VALUE) -> &mut Self
[src]
A mark style property to apply to the title text mark.
Default value: "group-title"
.
pub fn subtitle<VALUE: Into<LegendText>>(&mut self, value: VALUE) -> &mut Self
[src]
The subtitle Text.
pub fn subtitle_color<VALUE: Into<Color>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn subtitle_font<VALUE: Into<Color>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn subtitle_font_size<VALUE: Into<FontSize>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn subtitle_font_style<VALUE: Into<Color>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn subtitle_font_weight<VALUE: Into<FontWeightUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn subtitle_line_height<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn subtitle_padding<VALUE: Into<CornerRadiusUnion>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn text<VALUE: Into<ConditionalValueDefTextExprRefText>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The title text.
pub fn zindex<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
The integer z-index indicating the layering of the title group relative to other axis, mark and legend groups.
Default value: 0
.
pub fn build(&self) -> Result<TitleParams, String>
[src]
Trait Implementations
impl Clone for TitleParamsBuilder
[src]
pub fn clone(&self) -> TitleParamsBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for TitleParamsBuilder
[src]
pub fn default() -> TitleParamsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for TitleParamsBuilder
[src]
impl Send for TitleParamsBuilder
[src]
impl Sync for TitleParamsBuilder
[src]
impl Unpin for TitleParamsBuilder
[src]
impl UnwindSafe for TitleParamsBuilder
[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> 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>,