pub struct Histogram<H>{ /* private fields */ }
Implementations§
Source§impl<H> Histogram<H>
impl<H> Histogram<H>
pub fn new<I>(x: I) -> Box<Self>where
I: IntoIterator<Item = H>,
pub fn new_xy<I>(x: I, y: I) -> Box<Self>where
I: IntoIterator<Item = H>,
pub fn new_vertical<I>(y: I) -> Box<Self>where
I: IntoIterator<Item = H>,
pub fn name(self, name: &str) -> Box<Self>
pub fn visible(self, visible: bool) -> Box<Self>
pub fn show_legend(self, show_legend: bool) -> Box<Self>
pub fn legend_group(self, legend_group: &str) -> Box<Self>
pub fn opacity(self, opacity: f64) -> Box<Self>
pub fn text(self, text: &str) -> Box<Self>
pub fn text_array<S: AsRef<str>>(self, text: Vec<S>) -> Box<Self>
pub fn hover_text(self, hover_text: &str) -> Box<Self>
pub fn hover_text_array<S: AsRef<str>>(self, hover_text: Vec<S>) -> Box<Self>
pub fn hover_info(self, hover_info: HoverInfo) -> Box<Self>
pub fn hover_template(self, hover_template: &str) -> Box<Self>
pub fn x_axis(self, axis: &str) -> Box<Self>
pub fn y_axis(self, axis: &str) -> Box<Self>
pub fn hover_template_array<S: AsRef<str>>( self, hover_template: Vec<S>, ) -> Box<Self>
pub fn orientation(self, orientation: Orientation) -> Box<Self>
pub fn hist_func(self, hist_func: HistFunc) -> Box<Self>
pub fn hist_norm(self, hist_norm: HistNorm) -> Box<Self>
pub fn alignment_group(self, alignment_group: &str) -> Box<Self>
pub fn offset_group(self, offset_group: &str) -> Box<Self>
pub fn n_bins_x(self, n_bins_x: usize) -> Box<Self>
pub fn n_bins_y(self, n_bins_y: usize) -> Box<Self>
pub fn auto_bin_x(self, auto_bin_x: bool) -> Box<Self>
pub fn auto_bin_y(self, auto_bin_y: bool) -> Box<Self>
pub fn bin_group(self, bin_group: &str) -> Box<Self>
pub fn x_bins(self, x_bins: Bins) -> Box<Self>
pub fn y_bins(self, y_bins: Bins) -> Box<Self>
pub fn marker(self, marker: Marker) -> Box<Self>
pub fn error_x(self, error_x: ErrorData) -> Box<Self>
pub fn error_y(self, error_y: ErrorData) -> Box<Self>
pub fn cumulative(self, cumulative: Cumulative) -> Box<Self>
pub fn hover_label(self, hover_label: Label) -> Box<Self>
pub fn x_calendar(self, x_calendar: Calendar) -> Box<Self>
pub fn y_calendar(self, y_calendar: Calendar) -> Box<Self>
Trait Implementations§
Auto Trait Implementations§
impl<H> Freeze for Histogram<H>
impl<H> RefUnwindSafe for Histogram<H>where
H: RefUnwindSafe,
impl<H> Send for Histogram<H>where
H: Send,
impl<H> Sync for Histogram<H>where
H: Sync,
impl<H> Unpin for Histogram<H>where
H: Unpin,
impl<H> UnwindSafe for Histogram<H>where
H: UnwindSafe,
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