Forum Discussion

wonka1234's avatar
wonka1234
Icon for Helper III rankHelper III
1 year ago
Solved

Stacked Column, Squeeze All Bars into chart without showing horizonal scroll

hi,   is it possible to fit ALL values/bars into my stacked chart WITHOUT showing the horizontal scroll? I need to squeeze lines in.   Thanks.
  • v-achippa's avatar
    11 months 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