xAxis Label Overlap
See original GitHub issueUsing v4.7.0:
After upgrading to v5.0.2:
Version
5.0.2
Steps to reproduce
-
Upgrade to eCharts 5.0.2
-
Use the following options for xAxis:
options.xAxis.push({
gridIndex: ndx,
type: 'time',
axisLabel: {
formatter: function (date, index) {
return DateTime.dateFormat(new Date(date), true)
},
showMaxLabel: false
},
});
What is expected?
Expect the xAxis intervals to be spread out far enough so that the labels don’t overlap.
What is actually happening?
After upgrading to eCharts v5, the labels now overlap. The chart options did not change.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Matplotlib showing x-tick labels overlapping - Stack Overflow
First, the x-axis labels overlap with one another (this is my major issue). Second. the location of the x-axis minor gridlines seems a...
Read more >xAxis.labels.allowOverlap | highcharts API Reference
allowOverlap : boolean. Whether to allow the axis labels to overlap. When false, overlapping labels are hidden. Defaults to false .
Read more >How To Avoid Overlapping Labels in ggplot2?
Till now, one of the solutions to avoid overlapping text x-axis is to swap x and y axis with coord_flip() and make a...
Read more >How to Avoid yAxis labels overlap - Jaspersoft Community
One of the easiest solution is to set 'Interval between Y-axis labels' chart property to 2 or higher value if required. This property...
Read more >Xaxis log scale labels overlapping with yaxis labels - MathWorks
Xaxis log scale labels overlapping with yaxis... Learn more about axis overlap, log scale, exponent overlap on axis.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Any news?
when will it be fixed ? I’m using the v5.2.2 and it still overlaps