Skip to content

[charts][zoom] Allow to zoom on data #12503

Closed
@joserodolfofreitas

Description

@joserodolfofreitas

We can currently zoom with axis properties min/max. But this kind of feature still requires:

  • Add a min/max behavior on 'band' scale such that bar charts could also get it
  • Add event listener and visualization to select zoom area
  • define a DX to enable/disable/customize the zooming and scrolling

DX

Zoom behavior

Allows to choos if the axis interact together (see #12083) this is well defined in the section "How dataZoom components operates axes and data" https://echarts.apache.org/en/option.html#dataZoom

Display

Inside zoom

Allow to modify the zoom state by mousse interaction inside the chart

  • select x/y ranges
  • drag chart zoom with mouse move
  • define how to swich from select to drag
  • zoom +/- with the mouse wheel

https://echarts.apache.org/en/option.html#dataZoom-inside
https://api.highcharts.com/highcharts/chart.zooming.mouseWheel

Slider zoom

Allow to modify the zoom state with sliders

  • select x/y ranges
  • drag zoom range

https://echarts.apache.org/en/option.html#dataZoom-slider
https://api.highcharts.com/highstock/navigator

Search keywords:

Related

Metadata

Metadata

Assignees

Labels

designThis is about UI or UX design, please involve a designerplan: ProImpact at least one Pro userscope: chartsChanges or issues related to the charts producttype: new featureIntroduces a new piece of functionality or capability.

Projects

Status

Recently completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions