Struct BoxPlot

Source
pub struct BoxPlot<Y, X>{ /* private fields */ }

Implementations§

Source§

impl<Y> BoxPlot<Y, f64>
where Y: Serialize + Default,

Source

pub fn new(y: Vec<Y>) -> Box<BoxPlot<Y, f64>>

Source§

impl<Y, X> BoxPlot<Y, X>

Source

pub fn new_xy(x: Vec<X>, y: Vec<Y>) -> Box<BoxPlot<Y, X>>

Source

pub fn horizontal(x: Vec<X>) -> Box<BoxPlot<f64, X>>

Source

pub fn name(self, name: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn visible(self, visible: bool) -> Box<BoxPlot<Y, X>>

Source

pub fn show_legend(self, show_legend: bool) -> Box<BoxPlot<Y, X>>

Source

pub fn legend_group(self, legend_group: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn opacity(self, opacity: f64) -> Box<BoxPlot<Y, X>>

Source

pub fn ids<S: AsRef<str>>(self, ids: Vec<S>) -> Box<BoxPlot<Y, X>>

Source

pub fn width(self, width: usize) -> Box<BoxPlot<Y, X>>

Source

pub fn text(self, text: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn text_array<S: AsRef<str>>(self, text: Vec<S>) -> Box<BoxPlot<Y, X>>

Source

pub fn hover_text(self, hover_text: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn hover_text_array<S: AsRef<str>>( self, hover_text: Vec<S>, ) -> Box<BoxPlot<Y, X>>

Source

pub fn hover_info(self, hover_info: HoverInfo) -> Box<BoxPlot<Y, X>>

Source

pub fn hover_template(self, hover_template: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn x_axis(self, axis: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn y_axis(self, axis: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn hover_template_array<S: AsRef<str>>( self, hover_template: Vec<S>, ) -> Box<BoxPlot<Y, X>>

Source

pub fn orientation(self, orientation: Orientation) -> Box<BoxPlot<Y, X>>

Source

pub fn alignment_group(self, alignment_group: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn offset_group(self, offset_group: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn marker(self, marker: Marker) -> Box<BoxPlot<Y, X>>

Source

pub fn line(self, line: Line) -> Box<BoxPlot<Y, X>>

Source

pub fn box_mean(self, box_mean: BoxMean) -> Box<BoxPlot<Y, X>>

Source

pub fn box_points(self, box_points: BoxPoints) -> Box<BoxPlot<Y, X>>

Source

pub fn notched(self, notched: bool) -> Box<BoxPlot<Y, X>>

Source

pub fn notch_width(self, notch_width: f64) -> Box<BoxPlot<Y, X>>

Source

pub fn whisker_width(self, whisker_width: f64) -> Box<BoxPlot<Y, X>>

Source

pub fn q1(self, q1: Vec<f64>) -> Box<BoxPlot<Y, X>>

Source

pub fn median(self, median: Vec<f64>) -> Box<BoxPlot<Y, X>>

Source

pub fn q3(self, q3: Vec<f64>) -> Box<BoxPlot<Y, X>>

Source

pub fn lower_fence(self, lower_fence: Vec<f64>) -> Box<BoxPlot<Y, X>>

Source

pub fn notch_span(self, notch_span: Vec<f64>) -> Box<BoxPlot<Y, X>>

Source

pub fn mean(self, mean: Vec<f64>) -> Box<BoxPlot<Y, X>>

Source

pub fn standard_deviation( self, standard_deviation: Vec<f64>, ) -> Box<BoxPlot<Y, X>>

Source

pub fn quartile_method( self, quartile_method: QuartileMethod, ) -> Box<BoxPlot<Y, X>>

Source

pub fn fill_color<C: Color>(self, fill_color: C) -> Box<BoxPlot<Y, X>>

Source

pub fn hover_label(self, hover_label: Label) -> Box<BoxPlot<Y, X>>

Source

pub fn hover_on(self, hover_on: &str) -> Box<BoxPlot<Y, X>>

Source

pub fn point_pos(self, point_pos: f64) -> Box<BoxPlot<Y, X>>

Source

pub fn jitter(self, jitter: f64) -> Box<BoxPlot<Y, X>>

Source

pub fn x_calendar(self, x_calendar: Calendar) -> Box<BoxPlot<Y, X>>

Source

pub fn y_calendar(self, y_calendar: Calendar) -> Box<BoxPlot<Y, X>>

Trait Implementations§

Source§

impl<Y, X> Debug for BoxPlot<Y, X>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<Y, X> Default for BoxPlot<Y, X>

Source§

fn default() -> BoxPlot<Y, X>

Returns the “default value” for a type. Read more
Source§

impl<Y, X> Serialize for BoxPlot<Y, X>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<X, Y> Trace for BoxPlot<X, Y>

Auto Trait Implementations§

§

impl<Y, X> Freeze for BoxPlot<Y, X>

§

impl<Y, X> RefUnwindSafe for BoxPlot<Y, X>

§

impl<Y, X> Send for BoxPlot<Y, X>
where X: Send, Y: Send,

§

impl<Y, X> Sync for BoxPlot<Y, X>
where X: Sync, Y: Sync,

§

impl<Y, X> Unpin for BoxPlot<Y, X>
where X: Unpin, Y: Unpin,

§

impl<Y, X> UnwindSafe for BoxPlot<Y, X>
where X: UnwindSafe, Y: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V