Struct rustplot::chart_builder::BoxWhiskerPlot
[−]
[src]
pub struct BoxWhiskerPlot { pub chart_prop: ChartProp, pub axis_prop: AxisProp, // some fields omitted }
Structure used for storing chart related data and the drawing of a Box and Whisker Plot.
This chart is used for statistical analysis of data. Shows variations within a set of data.
Fields
chart_prop: ChartProp
axis_prop: AxisProp
Methods
impl BoxWhiskerPlot
[src]
pub fn new(
chart_title: String,
new_data_labels: Vec<String>,
new_data: Vec<Vec<f64>>
) -> BoxWhiskerPlot
[src]
chart_title: String,
new_data_labels: Vec<String>,
new_data: Vec<Vec<f64>>
) -> BoxWhiskerPlot
Creates a new instance of a BoxWhiskerPlot.
chart_title
is the String to specify the name of the chart displayed at the top of the window.
new_data_labels
contains strings placed under each box and whisker plot naming them.
new_data
is the number data for which statistics are generated to create a box plot.
Each inner vector represents a new box and whisker plot named by the same index element in new_data_labels.
Trait Implementations
impl Clone for BoxWhiskerPlot
[src]
fn clone(&self) -> BoxWhiskerPlot
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more