pub struct Bar { /* private fields */ }
Implementations§
Source§impl Bar
impl Bar
pub fn new() -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
pub fn color_by<C: Into<ColorBy>>(self, color_by: C) -> Self
pub fn legend_hover_link(self, legend_hover_link: bool) -> Self
pub fn coordinate_system<C: Into<CoordinateSystem>>( self, coordiate_system: C, ) -> Self
pub fn x_axis_index<F: Into<i64>>(self, x_axis_index: F) -> Self
pub fn y_axis_index<F: Into<i64>>(self, y_axis_index: F) -> Self
pub fn polar_index<F: Into<i64>>(self, polar_index: F) -> Self
pub fn round_cap(self, round_cap: bool) -> Self
pub fn realtime_sort(self, realtime_sort: bool) -> Self
pub fn show_background(self, show_background: bool) -> Self
pub fn background_style<S: Into<BackgroundStyle>>( self, background_style: S, ) -> Self
pub fn label<L: Into<Label>>(self, label: L) -> Self
pub fn item_style<S: Into<ItemStyle>>(self, item_style: S) -> Self
pub fn emphasis<E: Into<Emphasis>>(self, emphasis: E) -> Self
pub fn mark_line<M: Into<MarkLine>>(self, mark_line: M) -> Self
pub fn stack<S: Into<String>>(self, stack: S) -> Self
pub fn bar_width<F: Into<i64>>(self, bar_width: F) -> Self
pub fn data<D: Into<DataPoint>>(self, data: Vec<D>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bar
impl RefUnwindSafe for Bar
impl Send for Bar
impl Sync for Bar
impl Unpin for Bar
impl UnwindSafe for Bar
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