pub struct BrushOption {
pub show: bool,
pub toolbox: Option<Vec<String>>,
pub x_axis_index: Option<usize>,
pub y_axis_index: Option<usize>,
pub brush_link: Option<Vec<String>>,
pub areas: Vec<DataValue>,
pub brush_style: Option<ItemStyleOption>,
pub throttle_type: Option<String>,
pub throttle_delay: Option<f64>,
}Expand description
The options of the brush component.
Fields§
§show: boolWhether the brush is drawn.
toolbox: Option<Vec<String>>The areas the brush covers.
x_axis_index: Option<usize>The rectangle of the brush.
y_axis_index: Option<usize>The rectangle of the brush.
brush_link: Option<Vec<String>>The areas the brush covers.
areas: Vec<DataValue>The areas the brush covers.
brush_style: Option<ItemStyleOption>The style of the brush.
throttle_type: Option<String>The throttle of the brush’s response.
throttle_delay: Option<f64>The throttle of the brush’s response.
Trait Implementations§
Source§impl Clone for BrushOption
impl Clone for BrushOption
Source§impl Debug for BrushOption
impl Debug for BrushOption
Source§impl Default for BrushOption
impl Default for BrushOption
Source§impl PartialEq for BrushOption
impl PartialEq for BrushOption
impl StructuralPartialEq for BrushOption
Auto Trait Implementations§
impl Freeze for BrushOption
impl RefUnwindSafe for BrushOption
impl Send for BrushOption
impl Sync for BrushOption
impl Unpin for BrushOption
impl UnsafeUnpin for BrushOption
impl UnwindSafe for BrushOption
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