Struct rustplot::chart_builder::VerticalBarChart [] [src]

pub struct VerticalBarChart {
    pub chart_prop: ChartProp,
    pub axis_prop: AxisProp,
    // some fields omitted
}

Structure used for storing chart related data and the drawing of an Bar Chart.

Compare values across multiple categories.

Fields

Methods

impl VerticalBarChart
[src]

[src]

Creates a new instance of a VerticalBarChart.

chart_title is the String to specify the name of the chart displayed at the top of the window.

new_data_labels is the string data placed on the x-axis of the chart, each for a bar (or set of bars).

new_data is the number data on the y-axis of the chart specifying the position of each bar, with indexes corresponding to the same index in new_data_labels.

Trait Implementations

impl Clone for VerticalBarChart
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Chart for VerticalBarChart
[src]

[src]

Draws the chart specified for the instance that this function is called on.

Auto Trait Implementations