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

XAxis Labels are overlapping inside the visual #17889

Open
sathish151198 opened this issue Oct 26, 2022 · 4 comments
Open

XAxis Labels are overlapping inside the visual #17889

sathish151198 opened this issue Oct 26, 2022 · 4 comments

Comments

@sathish151198
Copy link

sathish151198 commented Oct 26, 2022

Expected behaviour

XAxis labels should not overlap inside the visual when the chart is inverted and xAxis label rotation is -180 in Waterfall Chart.

Actual behaviour

XAxis Labels are overlapping inside the visual

Live demo with steps to reproduce

Demo link

Product version

Highcharts v9.1.2

Affected browser(s)

Version 106.0.5249.62 (Official Build) (64-bit)

@karolkolodziej
Copy link
Contributor

Hi @sathish151198 and thank you for contacting us!

I am not sure if this should be classified as a bug because it looks like an edge case that could be easily worked around.
You can do that by simply setting the negative x value for the axis labels- demo.

@sathish151198
Copy link
Author

sathish151198 commented Nov 1, 2022

Hi @sathish151198 and thank you for contacting us!

I am not sure if this should be classified as a bug because it looks like an edge case that could be easily worked around. You can do that by simply setting the negative x value for the axis labels- demo.

Hi @karolkolodziej , Thanks a lot for your suggestion. I tried in our visual and it works fine, expect when we change the axis label density to "First and Last" i.e. When the user selects to display only the first and last label. Demo link for First N Last overlap issue.

Please suggest your thoughts on how we can handle this edge case.

@karolkolodziej
Copy link
Contributor

Please set the label aling: 'left' and add a margin to the chart in order to prepare space for those labels- demo.

@sathish151198
Copy link
Author

Please set the label aling: 'left' and add a margin to the chart in order to prepare space for those labels- demo.

Thanks @karolkolodziej !!

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

No branches or pull requests

2 participants