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

Heatmap: extra tick added at the end of y-axis with categories enabled #21184

Open
jedrzejruta opened this issue May 17, 2024 · 0 comments
Open

Comments

@jedrzejruta
Copy link
Contributor

jedrzejruta commented May 17, 2024

Expected behaviour

The data points are aligned with categories correctly, no extra tick is shown.

Actual behaviour

There is an extra tick at the end of y-axis, resulting in an extra white space added at the top of the plot area.

Live demo with steps to reproduce

It seems to occur for data sets > 20, but also if the data set has 18 points, on initial load it also has an extra tick (the chart is redrawn correctly after changing it's size).
https://jsfiddle.net/BlackLabel/45xok289/

As a workaround, disabling the yAxis.endOnTick solves the problem: https://jsfiddle.net/BlackLabel/h8ng0q96/

Product version

Since the introduction of heatmap series (v4.0.0)

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

No branches or pull requests

2 participants