When axis labels are aligned left, space reserveSpace option is no longer respected. #5286
Comments
My jsfiddle sample wasn't added: http://jsfiddle.net/w315zkaf/ |
I'm also experiencing this same issue. HighCharts StackBar has serious bugs with labels due to the x-axis being on the left side. |
The rationale is that Highcharts assumes you want to put the labels inside, like this: http://jsfiddle.net/highcharts/w315zkaf/2/ . That looks good on a value axis, not so good on a category axis with a stacked bar. We need to modify the reserveSpace option. Currently it can be set to |
+1 |
…tting it to false, could not be set to true to force reserved space. See #5286.
It's fixed now, but allowing the This will be part of v6.0.4, shipping within a few days. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions! |
Expected behaviour
Labels should take the same space whether
align: "left"
oralign: "center"
is usedActual behaviour
When labels are aligned left (xAxis labels on a bar chart), space is no longer reserved for the labels.
Live demo of the issue
http://jsfiddle.net/w315zkaf/
Steps to reproduce the behaviour
Modify the sample bar chart, just addinging:
labels: {align: 'left'}
to the xAxis options.Affected browser(s)
The text was updated successfully, but these errors were encountered: