pub struct StemArtist {
pub x: Series,
pub y: Series,
pub color: Color,
pub line_width: f64,
pub marker_size: f64,
pub baseline: f64,
pub label: Option<String>,
pub alpha: f64,
}Expand description
A stem (lollipop) chart.
Fields§
§x: SeriesX-coordinates of the data points.
y: SeriesY-coordinates of the data points.
color: ColorColor of the stem lines and markers.
line_width: f64Stroke width of the stem lines in pixels.
marker_size: f64Diameter of the marker circle in pixels.
baseline: f64The y-value from which stems originate.
label: Option<String>Optional legend label.
alpha: f64Opacity from 0.0 (fully transparent) to 1.0 (fully opaque).
Implementations§
Source§impl StemArtist
impl StemArtist
Source§impl StemArtist
impl StemArtist
Trait Implementations§
Source§impl Clone for StemArtist
impl Clone for StemArtist
Source§fn clone(&self) -> StemArtist
fn clone(&self) -> StemArtist
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 StemArtist
impl RefUnwindSafe for StemArtist
impl Send for StemArtist
impl Sync for StemArtist
impl Unpin for StemArtist
impl UnsafeUnpin for StemArtist
impl UnwindSafe for StemArtist
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