hypertrons-crx icon indicating copy to clipboard operation
hypertrons-crx copied to clipboard

[Feature] improve the experience of moving chart left or right

Open abcdefan opened this issue 1 year ago • 4 comments

Description

Now if we want to move the date left or right on the chart, we must hold down the mouse on the chart and drag it left or right. Sometimes when we move the mouse too hard and move it out of the chart, we can only reactivate the chart and start over.

I think we can start from the following two aspects:

  1. Add a function so that we can move the chart left and right by shift+mouse wheel scrolling.
  2. Add a slider at the bottom of the chart to slide left and right.

abcdefan avatar Aug 07 '24 05:08 abcdefan

https://echarts.apache.org/zh/option.html#dataZoom You can try to solve this problem by reviewing the relevant configuration documents of echarts. But do we need to abandon mouse scrolling and add some other things. Will it make it cumbersome and bloated, we may also need someone with experience in the project to judge and make suggestions.@wxharry @tyn1998

wangyantong2000 avatar Aug 08 '24 06:08 wangyantong2000

Hello, @abcdefan What is the result of the attempt, is there any up-to-date display result?

HalloMelon avatar Aug 15 '24 08:08 HalloMelon

@HalloMelon Sorry, I've only just started trying to solve it, I'll try to give the result before next week's Biweekly Meeting!

abcdefan avatar Aug 15 '24 08:08 abcdefan

@HalloMelon Sorry, I've only just started trying to solve it, I'll try to give the result before next week's Biweekly Meeting!

It doesn't matter. And feel free to ask any questions in the issue at any time.

HalloMelon avatar Aug 15 '24 08:08 HalloMelon