question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

X axis labels are still misaligned

See original GitHub issue

Codepen

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? untitlee

  • What is happening instead? untitled

  • What error message are you getting? No error message.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

2reactions
junedchhipacommented, Oct 25, 2018

@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 mentioned xaxis.type = 'categories' when in fact, it has to be xaxis.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 😁

screen shot 2018-10-26 at 12 19 17 am I tested your latest codepen with my recent fixes - and it’s working fine currently.

Cheers

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found