Struct rustplot::chart_builder::XYScatterPlot [] [src]

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

Structure used for storing chart related data and the drawing of an XY Scatter Plot.

Shows the relationship between sets of values, comparing at least 2 sets of data.

Fields

Methods

impl XYScatterPlot
[src]

[src]

Creates a new instance of a BubbleChart.

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

new_data_x is the number data placed on the x-axis of the chart, specifying horizontal positions of marks.

new_data_y is the number data placed on the y-axis of the chart, specifying vertical positions of marks, with indexes corresponding to the same index in new_data_x.

[src]

Set if line of best fit should be shown.

best_fit_line is a boolean value that should be set to true to show the line of best fit.

Trait Implementations

impl Clone for XYScatterPlot
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Chart for XYScatterPlot
[src]

[src]

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

Auto Trait Implementations

impl Send for XYScatterPlot

impl Sync for XYScatterPlot