pub struct FunnelOptions {
pub center: Option<Vec<String>>,
pub width: Option<String>,
pub height: Option<String>,
pub gap: Option<f64>,
pub label: Option<LabelOption>,
pub label_line: Option<LineStyleOption>,
pub min_size: Option<String>,
pub max_size: Option<String>,
pub sort: Option<bool>,
}Expand description
The options specific to a funnel series.
Fields§
§center: Option<Vec<String>>The centre of the funnel.
width: Option<String>The width of the funnel.
height: Option<String>The height of the funnel.
gap: Option<f64>The gap between two stages, as a fraction of the stage height.
label: Option<LabelOption>The label of a stage.
label_line: Option<LineStyleOption>The line between a stage and its label.
min_size: Option<String>The minimum size of a stage, as a percentage of the widest one.
max_size: Option<String>The maximum size of a stage, as a percentage of the widest one.
sort: Option<bool>Whether the stages are sorted by value.
Trait Implementations§
Source§impl Clone for FunnelOptions
impl Clone for FunnelOptions
Source§impl Debug for FunnelOptions
impl Debug for FunnelOptions
Source§impl Default for FunnelOptions
impl Default for FunnelOptions
Source§impl PartialEq for FunnelOptions
impl PartialEq for FunnelOptions
impl StructuralPartialEq for FunnelOptions
Auto Trait Implementations§
impl Freeze for FunnelOptions
impl RefUnwindSafe for FunnelOptions
impl Send for FunnelOptions
impl Sync for FunnelOptions
impl Unpin for FunnelOptions
impl UnsafeUnpin for FunnelOptions
impl UnwindSafe for FunnelOptions
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