[][src]Struct vega_lite_4::ExcludeMappedValueRefBaseTitleBuilder

pub struct ExcludeMappedValueRefBaseTitleBuilder { /* fields omitted */ }

Methods

impl ExcludeMappedValueRefBaseTitleBuilder[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]

The anchor position for placing the title and subtitle text. 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.

pub fn angle<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self[src]

Angle in degrees of title and subtitle text.

pub fn baseline<VALUE: Into<Baseline>>(&mut self, value: VALUE) -> &mut Self[src]

Vertical text baseline for title and subtitle text. One of "top", "middle", "bottom", or "alphabetic".

pub fn color<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

Text color for title text.

pub fn dx<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self[src]

Delta offset for title and subtitle text x-coordinate.

pub fn dy<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self[src]

Delta offset for title and subtitle text y-coordinate.

pub fn font<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

Font name for title text.

pub fn font_size<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self[src]

Font size in pixels for title text.

pub fn font_style<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

Font style for title text.

pub fn font_weight<VALUE: Into<FontWeight>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Font weight for title text. This can be either a string (e.g "bold", "normal") or a number (100, 200, 300, ..., 900 where "normal" = 400 and "bold" = 700).

pub fn frame<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

The reference frame for the anchor position, one of "bounds" (to anchor relative to the full bounding box) or "group" (to anchor relative to the group width or height).

pub fn limit<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self[src]

The maximum allowed length in pixels of title and subtitle text.

pub fn line_height<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self[src]

Line height in pixels for multi-line title text.

pub fn offset<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self[src]

The orthogonal offset in pixels by which to displace the title group from its position along the edge of the chart.

pub fn orient<VALUE: Into<TitleOrient>>(&mut self, value: VALUE) -> &mut Self[src]

Default title orientation ("top", "bottom", "left", or "right")

pub fn subtitle_color<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

Text color for subtitle text.

pub fn subtitle_font<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self[src]

Font name for subtitle text.

pub fn subtitle_font_size<VALUE: Into<f64>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Font size in pixels for subtitle text.

pub fn subtitle_font_style<VALUE: Into<String>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Font style for subtitle text.

pub fn subtitle_font_weight<VALUE: Into<FontWeight>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Font weight for subtitle text. This can be either a string (e.g "bold", "normal") or a number (100, 200, 300, ..., 900 where "normal" = 400 and "bold" = 700).

pub fn subtitle_line_height<VALUE: Into<f64>>(
    &mut self,
    value: VALUE
) -> &mut Self
[src]

Line height in pixels for multi-line subtitle text.

pub fn subtitle_padding<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self[src]

The padding in pixels between title and subtitle text.

pub fn build(&self) -> Result<ExcludeMappedValueRefBaseTitle, String>[src]

Builds a new ExcludeMappedValueRefBaseTitle.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for ExcludeMappedValueRefBaseTitleBuilder[src]

impl Default for ExcludeMappedValueRefBaseTitleBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.