Skip to main content

data_zoom

Method of Figure.

Overloads

NameDescription
data_zoom(const Map options) -> FigureSets the dataZoom option map.
data_zoom(const List options) -> FigureSets the dataZoom option list.

data_zoom(const Map options) -> Figure

Sets the dataZoom option map.

Parameters

  • options: Map of dataZoom options.
    • id (string): Component ID.
    • type (string): Type: inside or slider.
    • disabled (boolean): Disable the dataZoom.
    • x_axis_index (number|List): xAxis indices controlled by dataZoom.
    • y_axis_index (number|List): yAxis indices controlled by dataZoom.
    • radius_axis_index (number|List): radiusAxis indices controlled by dataZoom.
    • angle_axis_index (number|List): angleAxis indices controlled by dataZoom.
    • filter_mode (string): Filtering: filter/weakFilter/empty/none.
    • start (number): Window start in percent.
    • end (number): Window end in percent.
    • start_value (number|string): Window start by value.
    • end_value (number|string): Window end by value.
    • min_span (number): Minimum window span in percent.
    • max_span (number): Maximum window span in percent.
    • min_value_span (number): Minimum window span in value.
    • max_value_span (number): Maximum window span in value.
    • realtime (boolean): Update charts in realtime while zooming.
    • throttle (number): Throttle for dataZoom events.
    • zoom_lock (boolean): Lock zoom scale.
    • orient (string): Orientation: horizontal or vertical.
    • zoom_on_mouse_wheel (boolean|string): Enable zooming by mouse wheel.
    • move_on_mouse_move (boolean|string): Enable moving by mouse move.
    • move_on_mouse_wheel (boolean|string): Enable moving by mouse wheel.
    • prevent_default_mouse_move (boolean): Prevent default mouse move.
    • show (boolean): Show slider (slider type only).
    • background_color (Color): Slider background color.
    • border_color (Color): Slider border color.
    • border_width (number): Slider border width.
    • filler_color (Color): Slider filler color.
    • handle_icon (string): Slider handle icon.
    • handle_size (string|number): Slider handle size.
    • handle_style (Map): Slider handle style.
    • data_background (Map): Data background style.
    • data_background.line_style (Map): Background line style.
    • data_background.area_style (Map): Background area style.
    • selected_data_background (Map): Selected background style.
    • selected_data_background.line_style (Map): Selected line style.
    • selected_data_background.area_style (Map): Selected area style.
    • label_formatter (string): Slider label formatter.
    • text_style (Map): Slider text style.
    • show_detail (boolean): Show detail window.
    • show_data_shadow (string|boolean): Show data shadow.
    • handle_label (Map): Handle label options.
    • handle_label.show (boolean): Show handle label.
    • handle_label.formatter (string): Handle label formatter.

data_zoom(const List options) -> Figure

Sets the dataZoom option list.

Parameters

  • options: List of dataZoom option maps.
    • id (string): Component ID.
    • type (string): Type: inside or slider.
    • disabled (boolean): Disable the dataZoom.
    • x_axis_index (number|List): xAxis indices controlled by dataZoom.
    • y_axis_index (number|List): yAxis indices controlled by dataZoom.
    • radius_axis_index (number|List): radiusAxis indices controlled by dataZoom.
    • angle_axis_index (number|List): angleAxis indices controlled by dataZoom.
    • filter_mode (string): Filtering: filter/weakFilter/empty/none.
    • start (number): Window start in percent.
    • end (number): Window end in percent.
    • start_value (number|string): Window start by value.
    • end_value (number|string): Window end by value.
    • min_span (number): Minimum window span in percent.
    • max_span (number): Maximum window span in percent.
    • min_value_span (number): Minimum window span in value.
    • max_value_span (number): Maximum window span in value.
    • realtime (boolean): Update charts in realtime while zooming.
    • throttle (number): Throttle for dataZoom events.
    • zoom_lock (boolean): Lock zoom scale.
    • orient (string): Orientation: horizontal or vertical.
    • zoom_on_mouse_wheel (boolean|string): Enable zooming by mouse wheel.
    • move_on_mouse_move (boolean|string): Enable moving by mouse move.
    • move_on_mouse_wheel (boolean|string): Enable moving by mouse wheel.
    • prevent_default_mouse_move (boolean): Prevent default mouse move.
    • show (boolean): Show slider (slider type only).
    • background_color (Color): Slider background color.
    • border_color (Color): Slider border color.
    • border_width (number): Slider border width.
    • filler_color (Color): Slider filler color.
    • handle_icon (string): Slider handle icon.
    • handle_size (string|number): Slider handle size.
    • handle_style (Map): Slider handle style.
    • data_background (Map): Data background style.
    • data_background.line_style (Map): Background line style.
    • data_background.area_style (Map): Background area style.
    • selected_data_background (Map): Selected background style.
    • selected_data_background.line_style (Map): Selected line style.
    • selected_data_background.area_style (Map): Selected area style.
    • label_formatter (string): Slider label formatter.
    • text_style (Map): Slider text style.
    • show_detail (boolean): Show detail window.
    • show_data_shadow (string|boolean): Show data shadow.
    • handle_label (Map): Handle label options.
    • handle_label.show (boolean): Show handle label.
    • handle_label.formatter (string): Handle label formatter.