X axis labels are still misaligned
See original GitHub issueCodepen
https://codepen.io/jimfilippou-the-animator/pen/VEBrwe
Explanation
I believe this was an older issue which wasn’t fixed. I am aware that using labels: [1,2,3,4,5,6,7,8,9]
will solve the problem, but this is not a solution since the default behavior should align the x-axis properly.
What do you suggest wise man? 💯
Removing paddings is not a solution
-
What is the behavior you expect?
-
What is happening instead?
-
What error message are you getting? No error message.
Issue Analytics
- State:
- Created 5 years ago
- Comments:23 (23 by maintainers)
Top Results From Across the Web
Pivot chart X axis labels not aligned to the ... - Excel Help Forum
Please find the attached Excel file showing the chart with labels on the X-axis not properly aligned below the corresponding vertical bars.
Read more >Graph Labels on X Axis Not Aligned Underneath Data
When I select the labels in the X-axis and click the Home tab and select align left, center, or right the data still...
Read more >X-axis labels are not aligned vertical with the data points
Axis labels are not rendered for every dataPoint instead its rendered at every interval. However if you like to show label for every...
Read more >Aligning Your Axes - R for the Rest of Us
The x-axis is illegible because the long label overlaps with the others. There are several things we could do here: Put all the...
Read more >How to align the x-Axis name label to the end of the x-Axis
Now that echarts bug #8444: axis align option ignored has been fixed (since 4.3.0), we can make this work. JsFiddle example. The horizontal ......
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
@jimfilippou Oops! I totally forgot to test without taking out the
hacky
code which we used previously. Sorry about that. Also, I noticed - in the docs page, I have mentionedxaxis.type = 'categories'
when in fact, it has to bexaxis.type = 'category'
. Fixed the docs and all typos in code also.Some code refactoring is required now as I did some quick fixes. Will be taken care in the next release. You’ll have to wait for Monday for the next release now 😁
I tested your latest codepen with my recent fixes - and it’s working fine currently.
Cheers
Fixed it in https://github.com/apexcharts/apexcharts.js/commit/7a34f2365394272aeb0661e48a06a38d510eef68