pub struct ToolboxOption {
pub show: bool,
pub left: Option<Position>,
pub top: Option<Position>,
pub right: Option<Position>,
pub bottom: Option<Position>,
pub feature: Option<ToolboxFeatureOption>,
pub orient: Option<Orientation>,
pub item_gap: Option<f64>,
pub item_size: Option<f64>,
pub icon_style: Option<ItemStyleOption>,
pub emphasis: Option<EmphasisOption>,
}Expand description
The options of the chart’s toolbox.
Fields§
§show: boolWhether the toolbox is drawn.
left: Option<Position>The position of the toolbox.
top: Option<Position>The position of the toolbox.
right: Option<Position>The position of the toolbox.
bottom: Option<Position>The position of the toolbox.
feature: Option<ToolboxFeatureOption>The features the toolbox offers.
orient: Option<Orientation>The orientation of the toolbox’s icons.
item_gap: Option<f64>The item gap of the toolbox.
item_size: Option<f64>The item size of the toolbox.
icon_style: Option<ItemStyleOption>The style of the toolbox’s icons.
emphasis: Option<EmphasisOption>The emphasis style of the toolbox’s icons.
Trait Implementations§
Source§impl Clone for ToolboxOption
impl Clone for ToolboxOption
Source§impl Debug for ToolboxOption
impl Debug for ToolboxOption
Source§impl Default for ToolboxOption
impl Default for ToolboxOption
Source§impl PartialEq for ToolboxOption
impl PartialEq for ToolboxOption
impl StructuralPartialEq for ToolboxOption
Auto Trait Implementations§
impl Freeze for ToolboxOption
impl RefUnwindSafe for ToolboxOption
impl Send for ToolboxOption
impl Sync for ToolboxOption
impl Unpin for ToolboxOption
impl UnsafeUnpin for ToolboxOption
impl UnwindSafe for ToolboxOption
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