pub struct StepArtist {
pub x: Series,
pub y: Series,
pub color: Color,
pub width: f64,
pub where_step: StepWhere,
pub label: Option<String>,
pub alpha: f64,
}Expand description
A step (staircase) chart.
Fields§
§x: SeriesX-coordinates of the data points.
y: SeriesY-coordinates of the data points.
color: ColorStroke color of the step line.
width: f64Stroke width in pixels.
where_step: StepWhereStep alignment mode.
label: Option<String>Optional legend label.
alpha: f64Opacity from 0.0 (fully transparent) to 1.0 (fully opaque).
Implementations§
Source§impl StepArtist
impl StepArtist
Source§impl StepArtist
impl StepArtist
Sourcepub fn where_step(&mut self, w: StepWhere) -> &mut Self
pub fn where_step(&mut self, w: StepWhere) -> &mut Self
Sets the step alignment mode.
Trait Implementations§
Source§impl Clone for StepArtist
impl Clone for StepArtist
Source§fn clone(&self) -> StepArtist
fn clone(&self) -> StepArtist
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StepArtist
impl RefUnwindSafe for StepArtist
impl Send for StepArtist
impl Sync for StepArtist
impl Unpin for StepArtist
impl UnsafeUnpin for StepArtist
impl UnwindSafe for StepArtist
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