Struct charts::PieChartOptions [−][src]
pub struct PieChartOptions { pub pie_hole: f64, pub channel: PieChartSeriesOptions, pub animation: AnimationOptions, pub background: Fill, pub colors: Vec<Fill>, pub legend: LegendOptions, pub title: TitleOptions, pub tooltip: TooltipOptions, }
Fields
pie_hole: f64
If between 0 and 1, displays a donut chart. The hole will have a radius equal to this value times the radius of the chart.
channel: PieChartSeriesOptions
An object that controls the channel.
animation: AnimationOptions
An object that controls the animation.
background: Fill
The background color of the chart.
colors: Vec<Fill>
The color list used to render the channel. If there are more channel than colors, the colors will be reused.
legend: LegendOptions
An object that controls the legend.
title: TitleOptions
An object that controls the chart title.
tooltip: TooltipOptions
An object that controls the tooltip.
Trait Implementations
impl BaseOption for PieChartOptions
[src]
impl BaseOption for PieChartOptions
[src]fn animation(&self) -> &AnimationOptions
[src]
fn colors(&self) -> &Vec<Fill>
[src]
fn title(&self) -> &TitleOptions
[src]
fn legend(&self) -> &LegendOptions
[src]
fn tooltip(&self) -> &TooltipOptions
[src]
fn background(&self) -> &Fill
[src]
impl Default for PieChartOptions
[src]
impl Default for PieChartOptions
[src]Auto Trait Implementations
impl !RefUnwindSafe for PieChartOptions
impl !RefUnwindSafe for PieChartOptions
impl Send for PieChartOptions
impl Send for PieChartOptions
impl !Sync for PieChartOptions
impl !Sync for PieChartOptions
impl Unpin for PieChartOptions
impl Unpin for PieChartOptions
impl UnwindSafe for PieChartOptions
impl UnwindSafe for PieChartOptions