Struct rustplot::chart_builder::LineChart [] [src]

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

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

Show trends over time or in categories, highlighting order.

Fields

Methods

impl LineChart
[src]

[src]

Creates a new instance of a LineChart.

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 at a point of the line.

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

Trait Implementations

impl Clone for LineChart
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Chart for LineChart
[src]

[src]

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

Auto Trait Implementations

impl Send for LineChart

impl Sync for LineChart