Struct rustplot::chart_builder::DoughnutChart [] [src]

pub struct DoughnutChart {
    pub chart_prop: ChartProp,
    // some fields omitted
}

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

Show proportions of a whole for multiple sets of data. Can be used when total of numbers in 100%.

Fields

Methods

impl DoughnutChart
[src]

[src]

Creates a new instance of a DoughnutChart.

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 for which is represented in the chart. Each inner vector is a new ring in the doughnut chart.represnents a proportion within the whole data is calculated. Each value within an inner vector a proportion of the whole data (within its inner vector) is calculated.

Trait Implementations

impl Clone for DoughnutChart
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Chart for DoughnutChart
[src]

[src]

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

Auto Trait Implementations

impl Send for DoughnutChart

impl Sync for DoughnutChart