[−][src]Struct plotly_types::traces::histogram2dcontour::Line
Implementations
impl<'a> Line<'a>
[src]
pub fn color(&mut self, color: &'a str) -> &mut Self
[src]
Sets the color of the contour level. Has no effect if contours.coloring
is set to lines.
pub fn width(&mut self, width: f64) -> &mut Self
[src]
Sets the contour line width in (in px)
default: 0.5
pub fn dash(&mut self, dash: &'a str) -> &mut Self
[src]
Sets the dash style of lines. Set to a dash type string (solid, dot, dash, longdash, dashdot, or longdashdot) or a dash length list in px (eg 5px,10px,2px,2px).
default: solid
pub fn smoothing(&mut self, smoothing: f64) -> &mut Self
[src]
Sets the amount of smoothing for the contour lines, where 0 corresponds to no smoothing.
default: 1
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Line<'a>
impl<'a> Send for Line<'a>
impl<'a> Sync for Line<'a>
impl<'a> Unpin for Line<'a>
impl<'a> UnwindSafe for Line<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,