You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we have long axis labels, even after multiple resize it should always have the correct height instead of more height
Actual behaviour
When we have long axis labels (rendered as non-rotated label), reduce the chart size by resizing it then it will become a rotated label. Now again increase the chart size by resizing it again, we could notice that it is not retaining its initial height (Taking more height for the x-axis labels). Issue is replicable when nesting is enabled via highcharts-grouped-categories
Issue transferred from the Highcharts GitHub repository highcharts/highcharts#22004
Expected behaviour
When we have long axis labels, even after multiple resize it should always have the correct height instead of more height
Actual behaviour
When we have long axis labels (rendered as non-rotated label), reduce the chart size by resizing it then it will become a rotated label. Now again increase the chart size by resizing it again, we could notice that it is not retaining its initial height (Taking more height for the x-axis labels). Issue is replicable when nesting is enabled via highcharts-grouped-categories
Live demo with steps to reproduce
template: https://jsfiddle.net/82abwekd/1/
Product version
"highcharts": "^11.4.1",
"highcharts-grouped-categories": "^1.3.2",
Affected browser(s)
Chrome
Steps to reproduce:
1. Initial onload with more space for chart, so axis labels can render normally (non-rotated):
2. Do a resize by reducing the chart size, so labels will be rotated:
3. Go back to the initial size to retain the non-rotated labels:
Here we noticed huge space which should not be the case. It should render same as like initial case
The text was updated successfully, but these errors were encountered: