[][src]Struct plotly_types::traces::violin::Marker

pub struct Marker<'a> { /* fields omitted */ }

Implementations

impl<'a> Marker<'a>[src]

pub fn outliercolor(&mut self, outliercolor: &'a str) -> &mut Self[src]

Sets the color of the outlier sample points.

default: rgba(0, 0, 0, 0)

pub fn symbol(&mut self, symbol: Symbol) -> &mut Self[src]

Sets the marker symbol type. Adding 100 is equivalent to appending -open to a symbol name. Adding 200 is equivalent to appending -dot to a symbol name. Adding 300 is equivalent to appending -open-dot or dot-open to a symbol name.

default: circle

pub fn opacity(&mut self, opacity: f64) -> &mut Self[src]

Sets the marker opacity.

default: 1

pub fn size(&mut self, size: f64) -> &mut Self[src]

Sets the marker size (in px).

default: 6

pub fn color(&mut self, color: &'a str) -> &mut Self[src]

Sets themarkercolor. It accepts either a specific color or an array of numbers that are mapped to the colorscale relative to the max and min values of the array or relative to marker.cmin and marker.cmax if set.

pub fn line(&mut self) -> &mut Line<'a>[src]

Trait Implementations

impl<'a> Default for Marker<'a>[src]

impl<'a> Serialize for Marker<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Marker<'a>

impl<'a> Send for Marker<'a>

impl<'a> Sync for Marker<'a>

impl<'a> Unpin for Marker<'a>

impl<'a> UnwindSafe for Marker<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.