Version
latest
Link to Minimal Reproduction
https://codepen.io/Sam-Yang-the-selector/pen/MWzbmYE
Steps to Reproduce
My case is bar chart with xAxis type is value, and the min value of xAxis is a value, option like image below
Current Behavior
chart item overlap
Expected Behavior
the first bar item need to display half width of it, because left part is overflow grid.
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
6条答案
按热度按时间r8xiu3jd1#
This is the expected result since you set min: 110.
rmbxnbpk2#
This is the expected result since you set min: 110.
Thanks for reply
Yes, the min data is 110, but do we have any way to hide the part of bar which overlap grid?
8yparm6h3#
@Ovilia I agree with @ygs5933798 that this does not look good. We had user reports in Superset about the same problem. @ygs5933798 manually set 110 but this also happens when using
dataMin
anddataMax
which are automatically calculated. Can we try to come up with an improved display? Maybe moving the ticks at both ends to accommodate the bars?kmbjn2e34#
@Ovilia Look how this is handled differently when comparing
category
andvalue
even though both setmin
andmax
.Type
category
withmin
andmax
defined:Type
value
withmin
andmax
defined:ykejflvf5#
@Ovilia@villebro Can we prioritize a fix for this problem in ECharts 6.0? It is easily reproducible in Superset apache/superset#26254
vngu2lb86#
Can we prioritize a fix for this problem in ECharts 6.0? It is easily reproducible in Superset apache/superset#26254
@michael-s-molina would you be able to convey this to the Dev list discussion ? I will see if I can contribute to 6.0 efforts, and this could be a good one to start with, as it seems to not only affect Superset, but the community in general.