[−][src]Struct plotly_types::traces::histogram::Cumulative
Implementations
impl Cumulative
[src]
pub fn enabled(&mut self, enabled: bool) -> &mut Self
[src]
If true, display the cumulative distribution by summing the binned values. Use the direction
and centralbin
attributes to tune the accumulation method. Note: in this mode, the density histnorm
settings behave the same as their equivalents without density: ** and density both rise to the number of data points, and probability and probability density both rise to the number of sample points.
default: false
pub fn direction(&mut self, direction: Direction) -> &mut Self
[src]
Only applies if cumulative is enabled. If increasing (default) we sum all prior bins, so the result increases from left to right. If decreasing we sum later bins so the result decreases from left to right.
default: increasing
pub fn currentbin(&mut self, currentbin: Currentbin) -> &mut Self
[src]
Only applies if cumulative is enabled. Sets whether the current bin is included, excluded, or has half of its value included in the current cumulative value. include is the default for compatibility with various other tools, however it introduces a half-bin bias to the results. exclude makes the opposite half-bin bias, and half removes it.
default: include
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cumulative
impl Send for Cumulative
impl Sync for Cumulative
impl Unpin for Cumulative
impl UnwindSafe for Cumulative
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>,