[][src]Struct vega_lite_3::BoxPlotConfigBuilder

pub struct BoxPlotConfigBuilder { /* fields omitted */ }

Builder for BoxPlotConfig.

Methods

impl BoxPlotConfigBuilder[src]

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

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

The extent of the whiskers. Available options include:

  • "min-max": min and max are the lower and upper whiskers respectively.
  • A number representing multiple of the interquartile range. This number will be multiplied by the IQR to determine whisker boundary, which spans from the smallest data to the largest data within the range [Q1 - k * IQR, Q3 + k * IQR] where Q1 and Q3 are the first and third quartiles while IQR is the interquartile range (Q3-Q1).

Default value: 1.5.

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

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

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

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

Size of the box and median tick of a box plot

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

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

Builds a new BoxPlotConfig.

Errors

If a required field has not been initialized.

Trait Implementations

impl Clone for BoxPlotConfigBuilder[src]

impl Default for BoxPlotConfigBuilder[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.