pub struct AreaStyle {
pub line: LinePlotStyle,
pub marker_radius: f32,
pub top_fill: Color32,
pub bottom_fill: Color32,
pub relative_gradient: bool,
pub invert_filled_area: bool,
}Expand description
The Area chart’s line and vertical fill stops.
Fields§
§line: LinePlotStyleLine drawn along the edge of the fill.
marker_radius: f32Point marker radius in logical points. Non-positive or non-finite radii hide markers, the default. Each marker takes its point’s line colour.
top_fill: Color32Fill at the top of the gradient, including opacity.
bottom_fill: Color32Fill at the bottom of the gradient, including opacity.
relative_gradient: boolSpread the gradient between the line’s visible extreme and the pane edge the fill reaches, the default, instead of over the whole price pane.
invert_filled_area: boolFill from the line up to the pane top instead of down to the pane bottom.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AreaStyle
impl<'de> Deserialize<'de> for AreaStyle
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AreaStyle
Auto Trait Implementations§
impl Freeze for AreaStyle
impl RefUnwindSafe for AreaStyle
impl Send for AreaStyle
impl Sync for AreaStyle
impl Unpin for AreaStyle
impl UnsafeUnpin for AreaStyle
impl UnwindSafe for AreaStyle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more