pub struct GaugeOptions {Show 15 fields
pub center: Option<Vec<String>>,
pub radius: Option<String>,
pub start_angle: Option<f64>,
pub end_angle: Option<f64>,
pub min: Option<f64>,
pub max: Option<f64>,
pub split_number: Option<usize>,
pub progress: Option<GaugeProgressOption>,
pub axis_line: Option<AxisLineOption>,
pub axis_tick: Option<AxisTickOption>,
pub split_line: Option<SplitLineOption>,
pub pointer: Option<PointerOption>,
pub anchor: Option<PointerOption>,
pub title: Option<LabelOption>,
pub detail: Option<LabelOption>,
}Expand description
The options specific to a gauge series.
Fields§
§center: Option<Vec<String>>The centre of the gauge, as a percentage of the container.
radius: Option<String>The radius of the gauge, as a percentage of the container.
start_angle: Option<f64>The start angle of the gauge, in degrees.
end_angle: Option<f64>The end angle of the gauge, in degrees.
min: Option<f64>The minimum value of the gauge.
max: Option<f64>The maximum value of the gauge.
split_number: Option<usize>The number of segments the gauge is split into.
progress: Option<GaugeProgressOption>The progress arc of the gauge.
axis_line: Option<AxisLineOption>The pointer of the gauge.
axis_tick: Option<AxisTickOption>The axis line of the gauge.
split_line: Option<SplitLineOption>The split line of the gauge.
pointer: Option<PointerOption>The pointer of the gauge.
anchor: Option<PointerOption>The anchor of the gauge’s pointer.
title: Option<LabelOption>The title of the gauge.
detail: Option<LabelOption>The detail of the gauge.
Trait Implementations§
Source§impl Clone for GaugeOptions
impl Clone for GaugeOptions
Source§impl Debug for GaugeOptions
impl Debug for GaugeOptions
Source§impl Default for GaugeOptions
impl Default for GaugeOptions
Source§impl PartialEq for GaugeOptions
impl PartialEq for GaugeOptions
impl StructuralPartialEq for GaugeOptions
Auto Trait Implementations§
impl Freeze for GaugeOptions
impl RefUnwindSafe for GaugeOptions
impl Send for GaugeOptions
impl Sync for GaugeOptions
impl Unpin for GaugeOptions
impl UnsafeUnpin for GaugeOptions
impl UnwindSafe for GaugeOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more