Forum Discussion
Stacked Column, Squeeze All Bars into chart without showing horizonal scroll
- 1 year ago
Hi wonka1234,
Thank you for reaching out to Microsoft Fabric Community.
Thank you ArwaAldoud and FBergamaschi for the prompt response.
No you cannot make stacked column or bar charts to show all text categories without the horizontal scroll, the chart will always add it if there are too many items. Power bi reserves a minimum width per category for categorical axes.
If your x-axis is a date or numeric field you can switch the axis type to Continuous and use a line or area chart these can display many more points without scrolling.
If the axis is text the stacked column visual will always use categorical spacing, so use horizontal stacked bar chart instead, able to scroll vertically and longer labels fit more easily.Thanks and regards,
Anjan Kumar Chippa
I believe you cannot to that on bar charts but you can surely do that on a line chart as there you can have a continous x axis and not a categorical one. This is by definition impossibile on bar charts as they are native categorical
If this helped, please consider giving kudos and mark as a solution
me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI