You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/09/29 14:21:55 UTC
[GitHub] [echarts] 4scastro opened a new issue #15813: Axis labels can end up overlapping when the chart resizes due to dynamic data updates
4scastro opened a new issue #15813:
URL: https://github.com/apache/echarts/issues/15813
### Version
5.2.0
### Steps to reproduce
1. Start with the dynamic data example: https://echarts.apache.org/examples/en/editor.html?c=dynamic-data2
2. Change the interval value from 1000 to 50.
3. Re-run the code and observe the axes,
### What is expected?
That the ticks and labels are equally spaced and the labels don't overlap
### What is actually happening?
On the X or Y axis, as new data is added and the axis is resized, you see a new label pop up on top of the old one, and the old one will gradually move down to its proper position. Besides the issue of readability, it indicates that one of the labels is wrong. Furthermore, the lower end of the axes ends up being relatively unused. It reminds me of a logarithmic scale!
EDIT: tried turning off showMaxLabel for the X/Y axes. This helped, but the problem is still there - attached a screenshot when these are both set to false, the overlapped labels are clear, as is the unequally spaced labels (see 300, 600 and 900 on the Y axis).
---
I found this bug by adapting this example code to be updated more frequently (graphing data from 60 FPS video) over a shorter timescale. I tried various things to try and workaround what now seems like a bug to me. Then I decided I'd see if this was a problem with the example code that I started with, and found that by simply increasing the speed at which new data is added it was enough to reproduce the problem.
In the short term I'd be grateful if someone could suggest a workaround for manipulating the ticks/labels manually to stop this from happening.
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #15813: Axis labels can end up overlapping when the chart resizes due to dynamic data updates
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15813:
URL: https://github.com/apache/echarts/issues/15813#issuecomment-930225080
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 it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
*A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) 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 to our [mailing list](https://echarts.apache.org/en/maillist.html).
Have a nice day! 🍵
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] pissang closed issue #15813: Axis labels can end up overlapping when the chart resizes due to dynamic data updates
Posted by GitBox <gi...@apache.org>.
pissang closed issue #15813:
URL: https://github.com/apache/echarts/issues/15813
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] pissang edited a comment on issue #15813: Axis labels can end up overlapping when the chart resizes due to dynamic data updates
Posted by GitBox <gi...@apache.org>.
pissang edited a comment on issue #15813:
URL: https://github.com/apache/echarts/issues/15813#issuecomment-930696918
It's better to turn off animation if the interval is smaller than the animation duration.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] 4scastro commented on issue #15813: Axis labels can end up overlapping when the chart resizes due to dynamic data updates
Posted by GitBox <gi...@apache.org>.
4scastro commented on issue #15813:
URL: https://github.com/apache/echarts/issues/15813#issuecomment-930983523
That's resolved the issue, thanks.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] pissang commented on issue #15813: Axis labels can end up overlapping when the chart resizes due to dynamic data updates
Posted by GitBox <gi...@apache.org>.
pissang commented on issue #15813:
URL: https://github.com/apache/echarts/issues/15813#issuecomment-930696918
It's better to turn off animation if the interval is smaller than the animation duration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #15813: Axis labels can end up overlapping when the chart resizes due to dynamic data updates
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #15813:
URL: https://github.com/apache/echarts/issues/15813#issuecomment-930225080
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 it contains **a minimum reproducible demo** and necessary **images** to illustrate. Otherwise, our committers will ask you to do so.
*A minimum reproducible demo* should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) 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 to our [mailing list](https://echarts.apache.org/en/maillist.html).
Have a nice day! 🍵
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org