echarts icon indicating copy to clipboard operation
echarts copied to clipboard

fix(dataZoom): render data not equally distributed. close #16924 #15921

Open andrearoota opened this issue 3 years ago • 19 comments

Brief Information

This pull request is in the type of:

  • [x] bug fixing
  • [ ] new feature
  • [ ] others

What does this PR do?

Fix render data shadow line with data not equally distributed in time axis

Fixed issues

#16924 #15921 #16980

Details

Before: What was the problem?

Data shadow line in bottom dataZoom does not match with serie line on graph

image

After: How is it fixed in this PR?

If type of axis is set to "time", scale the original axis data range to dataZoom axis range I used this mathematical formula

image

Misc

  • [ ] The API has been changed (apache/echarts-doc#xxx).
  • [ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs

N.A.

Others

Merging options

  • [x] Please squash the commits into a single one when merging.

Other information

andrearoota avatar May 04 '22 13:05 andrearoota

Thanks for your contribution! The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

echarts-bot[bot] avatar May 04 '22 13:05 echarts-bot[bot]

I'm also fixing related problems at #17311 . I will check the logic more carefully later. Thanks for your contribution!

Ovilia avatar Sep 02 '22 07:09 Ovilia

Hello! Is there a plan to merge this PR anytime soon? It also enables workaround for bug with axis.min and axis.max on dataShadow

piotrbubelE avatar May 17 '24 07:05 piotrbubelE

I am also waiting for this fix. What are your plans?

pchrzaszczewski avatar May 17 '24 10:05 pchrzaszczewski

Merge would be great. I need this fix for my app.

kamilapolewczykatos avatar May 20 '24 09:05 kamilapolewczykatos

It would be great to ship it. Need also this fix in my application.

zsamotsil avatar May 20 '24 09:05 zsamotsil

Here is issue that can use workaround from this PR: https://github.com/apache/echarts/issues/19957

piotrbubelE avatar May 20 '24 10:05 piotrbubelE

When will this be available for use? Without this I cannot use data zoom slider in my project.

grzesikj avatar May 20 '24 10:05 grzesikj

I really could use this fix. When will this be available to use?

Bernard-code avatar May 20 '24 10:05 Bernard-code

Add it, please.

grzesikj avatar Aug 09 '24 06:08 grzesikj

When can you add it?

grzesikj avatar Sep 17 '24 08:09 grzesikj

Fix PR pending for two years 😭

noahhai avatar Sep 25 '24 09:09 noahhai

Should we spam somehow this topic in anticipation of the answer? Echarts team give us some answer.

I give you some possible options. I hope it will help you to respond to the community:

  • "we are already working on it, fix will be available in... insert date here",
  • "it was solved differently, here you have the solution...",
  • "we don't care",
  • "we don't give a shit",
  • "go to hell"

Choose wisely. We will know what to do next... :disappointed:

pchrzaszczewski avatar Sep 26 '24 08:09 pchrzaszczewski

@pchrzaszczewski Woah easy there. I get the frustration though.

I am going to create a pnpm patch based on the fixes in the PR and just pin the echarts version in my dependencies. Not great, but I assume at some point it will get fixed.

noahhai avatar Sep 26 '24 08:09 noahhai

@pchrzaszczewski Woah easy there. I get the frustration though.

I am going to create a pnpm patch based on the fixes in the PR and just pin the echarts version in my dependencies. Not great, but I assume at some point it will get fixed.

Does my code still work in the current version? I am willing to improve it and update it if necessary

andrearoota avatar Sep 26 '24 08:09 andrearoota

@pchrzaszczewski Woah easy there. I get the frustration though.

I am going to create a pnpm patch based on the fixes in the PR and just pin the echarts version in my dependencies. Not great, but I assume at some point it will get fixed.

@noahhai I'm grateful that you responded. We can see that something is happening ;)

I've been patient for 2 years :muscle: It is always better to at least know if there is a plan or not. I'm keeping my fingers crossed and cheering that the day will finally come... :crossed_fingers:

pchrzaszczewski avatar Sep 26 '24 10:09 pchrzaszczewski

I'm still waiting

grzesikj avatar Nov 07 '24 12:11 grzesikj

Can we just deploy this pleasE?

alinscodes avatar Dec 11 '24 08:12 alinscodes

Still hoping for this fix too!

jteez avatar Dec 11 '24 10:12 jteez