Struct rustplot::chart_builder::Histogram
[−]
[src]
pub struct Histogram { pub chart_prop: ChartProp, pub axis_prop: AxisProp, // some fields omitted }
Structure used for storing chart related data and the drawing of an Histogram.
This chart is used for statistical analysis of data. Shows the distribution of groups data.
Fields
chart_prop: ChartProp
axis_prop: AxisProp
Methods
impl Histogram
[src]
pub fn new(chart_title: String, new_data: Vec<f64>) -> Histogram
[src]
Creates a new instance of a Histogram.
chart_title
is the String to specify the name of the chart displayed at the top of the window.
new_data
is the number data used to generate the frequencies for drawing the histogram.
Trait Implementations
impl Clone for Histogram
[src]
fn clone(&self) -> Histogram
[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