pub struct EmphasisOption {
pub enabled: bool,
pub item_style: Option<ItemStyleOption>,
pub line_style: Option<LineStyleOption>,
pub label: Option<LabelOption>,
pub scale: Option<bool>,
pub focus: Option<String>,
pub blur: Option<BlurOption>,
}Expand description
The style applied to a data point when it is highlighted.
Fields§
§enabled: boolWhether the emphasis style is applied.
item_style: Option<ItemStyleOption>The fill of the highlighted shape.
line_style: Option<LineStyleOption>The stroke of the highlighted shape.
label: Option<LabelOption>The label of the highlighted shape.
scale: Option<bool>The scale the highlighted shape is drawn at.
focus: Option<String>The focus mode of the highlight.
blur: Option<BlurOption>The blur applied to the other data points.
Trait Implementations§
Source§impl Clone for EmphasisOption
impl Clone for EmphasisOption
Source§impl Debug for EmphasisOption
impl Debug for EmphasisOption
Source§impl Default for EmphasisOption
impl Default for EmphasisOption
Source§impl PartialEq for EmphasisOption
impl PartialEq for EmphasisOption
impl StructuralPartialEq for EmphasisOption
Auto Trait Implementations§
impl Freeze for EmphasisOption
impl RefUnwindSafe for EmphasisOption
impl Send for EmphasisOption
impl Sync for EmphasisOption
impl Unpin for EmphasisOption
impl UnsafeUnpin for EmphasisOption
impl UnwindSafe for EmphasisOption
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