pub struct DataZoom { /* private fields */ }
Expand description
DataZoom component is used for zooming a specific area, which enables user to investigate data in detail, or get an overview of the data, or get rid of outlier points.
Implementations§
Source§impl DataZoom
impl DataZoom
pub fn new() -> Self
pub fn type_<T: Into<DataZoomType>>(self, type_: T) -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
pub fn show(self, show: bool) -> Self
pub fn realtime(self, realtime: bool) -> Self
pub fn background_color<C: Into<Color>>(self, background_color: C) -> Self
pub fn data_background<D: Into<DataBackground>>( self, data_background: D, ) -> Self
pub fn selected_data_background<D: Into<DataBackground>>( self, selected_data_background: D, ) -> Self
pub fn filler_color<C: Into<Color>>(self, filler_color: C) -> Self
pub fn border_color<C: Into<Color>>(self, border_color: C) -> Self
pub fn start<F: Into<i64>>(self, start: F) -> Self
pub fn end<F: Into<i64>>(self, end: F) -> Self
pub fn start_value<F: Into<i64>>(self, start_value: F) -> Self
pub fn end_value<F: Into<i64>>(self, end_value: F) -> Self
pub fn min_span<F: Into<i64>>(self, min_span: F) -> Self
pub fn max_span<F: Into<i64>>(self, max_span: F) -> Self
pub fn min_value_span<F: Into<i64>>(self, min_value_span: F) -> Self
pub fn max_value_span<F: Into<i64>>(self, max_value_span: F) -> Self
pub fn orient<O: Into<Orient>>(self, orient: O) -> Self
pub fn zoom_lock(self, zoom_lock: bool) -> Self
pub fn throttle<F: Into<i64>>(self, throttle: F) -> Self
pub fn left<C: Into<CompositeValue>>(self, left: C) -> Self
pub fn top<C: Into<CompositeValue>>(self, top: C) -> Self
pub fn right<C: Into<CompositeValue>>(self, right: C) -> Self
pub fn bottom<C: Into<CompositeValue>>(self, bottom: C) -> Self
pub fn x_axis_index<C: Into<CompositeValue>>(self, x_axis_index: C) -> Self
pub fn y_axis_index<C: Into<CompositeValue>>(self, y_axis_index: C) -> Self
pub fn disabled(self, disabled: bool) -> Self
pub fn radius_axis_index<F: Into<i64>>(self, radius_axis_index: F) -> Self
pub fn angle_axis_index<F: Into<i64>>(self, angle_axis_index: F) -> Self
pub fn filter_mode<F: Into<FilterMode>>(self, filter_mode: F) -> Self
pub fn text_style<T: Into<TextStyle>>(self, text_style: T) -> Self
pub fn handle_icon<S: Into<String>>(self, handle_icon: S) -> Self
pub fn brush_select(self, brush_select: bool) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataZoom
impl RefUnwindSafe for DataZoom
impl Send for DataZoom
impl Sync for DataZoom
impl Unpin for DataZoom
impl UnwindSafe for DataZoom
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