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
Defining a manual offset via grid.padding.right works as a workaround, but depending on the data it can still get cut off, if a big number is needed to be shown.
The text was updated successfully, but these errors were encountered:
Description
When creating a horizontal 100% stacked bar chart with a total-dataLabel, the dataLabel gets cut off.
Steps to Reproduce
chart.stacked = true
,chart.stackType = "100%"
,plotOptions.bar.horizontal = true
)plotOptions.bar.dataLabels.total.enabled = true
)=> total dataLabel gets cut off
Expected Behavior
The chart adds a right padding dependent on the max dataLabel width.
Actual Behavior
The total-dataLabel gets positioned right of the bar and gets cut off, because it overflows.
Screenshots
Reproduction Link
https://codepen.io/moddesteni/pen/vYaKJQq
Workaround
Defining a manual offset via
grid.padding.right
works as a workaround, but depending on the data it can still get cut off, if a big number is needed to be shown.The text was updated successfully, but these errors were encountered: