Struct DataZoom

Source
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

Source

pub fn new() -> Self

Source

pub fn type_<T: Into<DataZoomType>>(self, type_: T) -> Self

Source

pub fn id<S: Into<String>>(self, id: S) -> Self

Source

pub fn show(self, show: bool) -> Self

Source

pub fn realtime(self, realtime: bool) -> Self

Source

pub fn background_color<C: Into<Color>>(self, background_color: C) -> Self

Source

pub fn data_background<D: Into<DataBackground>>( self, data_background: D, ) -> Self

Source

pub fn selected_data_background<D: Into<DataBackground>>( self, selected_data_background: D, ) -> Self

Source

pub fn filler_color<C: Into<Color>>(self, filler_color: C) -> Self

Source

pub fn border_color<C: Into<Color>>(self, border_color: C) -> Self

Source

pub fn start<F: Into<i64>>(self, start: F) -> Self

Source

pub fn end<F: Into<i64>>(self, end: F) -> Self

Source

pub fn start_value<F: Into<i64>>(self, start_value: F) -> Self

Source

pub fn end_value<F: Into<i64>>(self, end_value: F) -> Self

Source

pub fn min_span<F: Into<i64>>(self, min_span: F) -> Self

Source

pub fn max_span<F: Into<i64>>(self, max_span: F) -> Self

Source

pub fn min_value_span<F: Into<i64>>(self, min_value_span: F) -> Self

Source

pub fn max_value_span<F: Into<i64>>(self, max_value_span: F) -> Self

Source

pub fn orient<O: Into<Orient>>(self, orient: O) -> Self

Source

pub fn zoom_lock(self, zoom_lock: bool) -> Self

Source

pub fn throttle<F: Into<i64>>(self, throttle: F) -> Self

Source

pub fn left<C: Into<CompositeValue>>(self, left: C) -> Self

Source

pub fn top<C: Into<CompositeValue>>(self, top: C) -> Self

Source

pub fn right<C: Into<CompositeValue>>(self, right: C) -> Self

Source

pub fn bottom<C: Into<CompositeValue>>(self, bottom: C) -> Self

Source

pub fn x_axis_index<C: Into<CompositeValue>>(self, x_axis_index: C) -> Self

Source

pub fn y_axis_index<C: Into<CompositeValue>>(self, y_axis_index: C) -> Self

Source

pub fn disabled(self, disabled: bool) -> Self

Source

pub fn radius_axis_index<F: Into<i64>>(self, radius_axis_index: F) -> Self

Source

pub fn angle_axis_index<F: Into<i64>>(self, angle_axis_index: F) -> Self

Source

pub fn filter_mode<F: Into<FilterMode>>(self, filter_mode: F) -> Self

Source

pub fn text_style<T: Into<TextStyle>>(self, text_style: T) -> Self

Source

pub fn handle_icon<S: Into<String>>(self, handle_icon: S) -> Self

Source

pub fn brush_select(self, brush_select: bool) -> Self

Trait Implementations§

Source§

impl Serialize for DataZoom

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Serializable for T
where T: Serialize,

Source§

fn to_v8<'a>( &mut self, scope: &mut HandleScope<'a>, ) -> Result<Local<'a, Value>, Error>

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,