pub struct Properties { /* private fields */ }Expand description
Properties common to candlestick plots
Implementations§
Source§impl Properties
impl Properties
Sourcepub fn color(&mut self, color: Color) -> &mut Properties
pub fn color(&mut self, color: Color) -> &mut Properties
Sets the line color
Sourcepub fn label<S>(&mut self, label: S) -> &mut Properties
pub fn label<S>(&mut self, label: S) -> &mut Properties
Sets the legend label
Sourcepub fn line_type(&mut self, lt: LineType) -> &mut Properties
pub fn line_type(&mut self, lt: LineType) -> &mut Properties
Changes the line type
Note By default Solid lines are used
Sourcepub fn line_width(&mut self, lw: f64) -> &mut Properties
pub fn line_width(&mut self, lw: f64) -> &mut Properties
Auto Trait Implementations§
impl Freeze for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
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
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