Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-axis label alignment is off #210

Open
hbingal opened this issue Sep 7, 2023 · 3 comments
Open

X-axis label alignment is off #210

hbingal opened this issue Sep 7, 2023 · 3 comments
Labels

Comments

@hbingal
Copy link

hbingal commented Sep 7, 2023

For Highcharts 10.3.3, the following jsfiddle below is as expected
https://jsfiddle.net/BlackLabel/n562x7yh/

Once I refer to Highcharts 11.1.0, the x-asix label alignment is off with the same of data and jQuery version.
https://jsfiddle.net/BlackLabel/c58btgzx/

Please let me know how to make the chart looks near identical (color and line thickness do not matter).

Thanks,
Bing

@blacklabel blacklabel deleted a comment from hbingal Sep 8, 2023
@raf18seb
Copy link

raf18seb commented Sep 8, 2023

Hi @hbingal,

Thanks for reporting the issue!

Probably regression of #202 (or related)

@jedrzejruta would you like to take a look if it's related?

@raf18seb raf18seb added the bug label Sep 8, 2023
@jedrzejruta
Copy link
Contributor

jedrzejruta commented Sep 13, 2023

@raf18seb it looks like the regression is related to #206, where in Highchars v11 axes labels.distance has changed to 15.

Workaround:
Explicitly set labels.distance to 5 on x-axis.
https://jsfiddle.net/BlackLabel/9g1sk587/

@guidd
Copy link

guidd commented Feb 5, 2024

Would be great though if the new version would take it into account ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants