Struct charts::GaugeChartOptions [−][src]
pub struct GaugeChartOptions { pub labels: Option<StyleOptions>, pub animation: AnimationOptions, pub background: Fill, pub gauge_background: Color, pub colors: Vec<Fill>, pub legend: LegendOptions, pub title: TitleOptions, pub tooltip: TooltipOptions, }
Fields
labels: Option<StyleOptions>
An object that controls the gauge labels. Whether to show the labels An object that controls the styling of the gauge labels
animation: AnimationOptions
An object that controls the animation.
background: Fill
The background color of the chart.
gauge_background: Color
The background color of the gauge.
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 GaugeChartOptions
[src]
impl BaseOption for GaugeChartOptions
[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 GaugeChartOptions
[src]
impl Default for GaugeChartOptions
[src]Auto Trait Implementations
impl !RefUnwindSafe for GaugeChartOptions
impl !RefUnwindSafe for GaugeChartOptions
impl Send for GaugeChartOptions
impl Send for GaugeChartOptions
impl !Sync for GaugeChartOptions
impl !Sync for GaugeChartOptions
impl Unpin for GaugeChartOptions
impl Unpin for GaugeChartOptions
impl UnwindSafe for GaugeChartOptions
impl UnwindSafe for GaugeChartOptions