Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpect bar count when use zoomSelect #14416

Closed
MaoScut opened this issue Mar 7, 2021 · 1 comment · Fixed by #14569
Closed

Unexpect bar count when use zoomSelect #14416

MaoScut opened this issue Mar 7, 2021 · 1 comment · Fixed by #14569
Labels
bug en This issue is in English

Comments

@MaoScut
Copy link

MaoScut commented Mar 7, 2021

Version

4.9.0

Reproduction link

https://stackblitz.com/edit/js-xpyfvk?file=index.js

Steps to reproduce

when the right edge of the selected range hit the chart's right edge, the bar count is not match my selection.
chrome-capture (1)

What is expected?

bar count should match my selection.

What is actually happening?

there is one extra bar.


I need to display a table below the bar chart. And the rows of table is the same as the bar count.
I use zoom event params to calculate the rows.
But when selection hit the edge, the row count calculated from event params is one less then the chart.

@echarts-bot
Copy link

echarts-bot bot commented Mar 7, 2021

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.

If you are interested in the project, you may also subscribe our mailing list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Mar 7, 2021
@pissang pissang removed pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants