You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/06/18 03:04:46 UTC
[GitHub] [incubator-echarts] Barani95 opened a new issue #10691: yaxis value
reaching the top line in bar chart
Barani95 opened a new issue #10691: yaxis value reaching the top line in bar chart
URL: https://github.com/apache/incubator-echarts/issues/10691
### Version
4.2.1
### Reproduction link
[https://www.dropbox.com/s/po5a4wupbu6o8yr/yaxis.PNG?dl=0](https://www.dropbox.com/s/po5a4wupbu6o8yr/yaxis.PNG?dl=0)
### Steps to reproduce
Draw a bar chart with data values having the maximum value that is divisible by 10. Please see the link below as sample.
https://echarts.apache.org/examples/en/editor.html?c=bar-simple
The screenshot of my bar chart is included in "Reproduction link".
### What is expected?
Some extra values to yaxis should be added to the maximum data values of the bar even though the value is divisible by 10 so that the bar does not touch the top line of the chart and will have some extra space.
### What is actually happening?
When bar chart is created with the maximum data values having the numbers divisible by 10 which is 10, 20, 30, 40, ..... 200, 300, the yaxis tick points are not auto re-scaled and the maximum data value itself is being the maximum tick of the yaxis. But it does not happen to the maximum data values which is not divisible by 10, and it re-scaled.
---
Please see the screenshot of bar chart below in which maximum data value is not divisible by 10. (The value in the picture is 1439).
https://www.dropbox.com/s/pw650malfrgojqi/yaxis2.PNG?dl=0
<!-- 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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org