Forum Discussion
Stacked Bar Chart - Y axis Label
- 5 months ago
Unfortunately, this is not currently possible in Power BI. The Power BI team is working on it see:
https://community.fabric.microsoft.com/t5/Fabric-Ideas/Add-word-wrap-to-bar-chart-Y-Axis-Labels/idi-p/4428174/page/24#commentsHowever, if you are in an urgent situation and need this implemented right away, you can achieve it by using Deneb visuals. Please find the attached sample I have created.
In a stacked bar chart, the Y-axis is the category axis. Microsoft’s formatting options for the Y-axis cover things like font, display units, range, and intervals, but there isn’t a setting to manually increase the label area width or force word wrap for long category labels. Also, for categorical axes, Power BI only shows labels as space allows. So if you already tried the available format settings and the text is still cut off, that is most you could do.
To get what you need, you simply need to make the visual wider.