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
The stackLabels x position is incorrect when xAxis.left is set.
Works fine with the first xAxis, fails with multiple axes (second, third...)
This ticket might be treated as a continuation of #11500, where it was fixed only for the first xAxis.
A similar problem occurs when xAxis.opposite is set. See our official demo with stackLabels added: https://jsfiddle.net/BlackLabel/9eq238ph/
The fix for this will be applied in the same place (y position has to be corrected by chart.plotLeft).
Add information about used xAxis onto a StackItem (line 58), then use it to calculate the correct position (line 147).
Demo: https://jsfiddle.net/BlackLabel/g50sn7or/
Product version
9.3.2
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The stackLabels x position is incorrect when
xAxis.left
is set.Works fine with the first xAxis, fails with multiple axes (second, third...)
This ticket might be treated as a continuation of #11500, where it was fixed only for the first xAxis.
A similar problem occurs when
xAxis.opposite
is set. See our official demo with stackLabels added: https://jsfiddle.net/BlackLabel/9eq238ph/The fix for this will be applied in the same place (
y
position has to be corrected bychart.plotLeft
).Live demo with steps to reproduce
https://jsfiddle.net/BlackLabel/omu6x3pa/
Workaround
Add information about used xAxis onto a StackItem (line 58), then use it to calculate the correct position (line 147).
Demo: https://jsfiddle.net/BlackLabel/g50sn7or/
Product version
9.3.2
The text was updated successfully, but these errors were encountered: