[−][src]Struct vega_lite_4::ExcludeMappedValueRefBaseTitleBuilder
Builder for ExcludeMappedValueRefBaseTitle
.
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]
&mut self,
value: VALUE
) -> &mut Self
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]
&mut self,
value: VALUE
) -> &mut Self
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]
&mut self,
value: VALUE
) -> &mut Self
Font size in pixels for subtitle text.
pub fn subtitle_font_style<VALUE: Into<String>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
Font style for subtitle text.
pub fn subtitle_font_weight<VALUE: Into<FontWeight>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
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]
&mut self,
value: VALUE
) -> &mut Self
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]
Trait Implementations
impl Clone for ExcludeMappedValueRefBaseTitleBuilder
[src]
fn clone(&self) -> ExcludeMappedValueRefBaseTitleBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ExcludeMappedValueRefBaseTitleBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExcludeMappedValueRefBaseTitleBuilder
impl Send for ExcludeMappedValueRefBaseTitleBuilder
impl Sync for ExcludeMappedValueRefBaseTitleBuilder
impl Unpin for ExcludeMappedValueRefBaseTitleBuilder
impl UnwindSafe for ExcludeMappedValueRefBaseTitleBuilder
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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,