Forum Discussion

samblackshaw28's avatar
2 months ago
Solved

Removing Whitespace on bar chart visual

Hi,

 

I have this bar chart and it seems to have a ridiculous amount of white space on it. Below the title and above the X-axis title. I have messed around with all the padding and any spacing options I can find, the white space still remains? Anyone had a similar issue, takes up unncecessary space in my report so quite annoying.

 

 

  • Slightly convuluted but, to get it looking to your spec, I would

    1. Remove the Title and X-Axis title
    2. Set the background of the visual to see-through
    3. Put this visual on top of a white square that's sized to your choosing.

5 Replies

  • Slightly convuluted but, to get it looking to your spec, I would

    1. Remove the Title and X-Axis title
    2. Set the background of the visual to see-through
    3. Put this visual on top of a white square that's sized to your choosing.
    • samblackshaw28's avatar
      samblackshaw28
      Icon for Helper I rankHelper I

      Hi Matt, I guess this would work so I'll try that. So basically I'll have to use data labels and have nothing else on the graph other than the bars.

      • MattKav's avatar
        MattKav
        Icon for Helper I rankHelper I

        That's right yes, in that way you get to choose how much empty space is around the bars.

  • v-karpurapud's avatar
    v-karpurapud
    Icon for Community Support rankCommunity Support

    Hi samblackshaw28 

    Thank you for submitting your question to the Microsoft Fabric Community Forum, and thanks to  Rupa01 and MattKav  for sharing helpful suggestions.

    Could you let us know if the suggested solution resolved your issue? If not, please share any additional details so we can assist further.

    Best regards,
    Community Support Team.

     

  • Rupa01's avatar
    Rupa01
    Icon for Solution Sage rankSolution Sage

    Hi samblackshaw28,
    In Power BI, it is possible to adjust spacing. however, it cannot be completely removed and can only be reduced to a certain extent.


    Space between bars can be adjusted via:
    Visual Formatting → Bars → Layout → Space between categories


    Space below the title can be modified via:
    General Formatting → Title → Spacing


    A simple workaround is to turn off the visual title, X-axis title, and Y-axis title, and then use a text box to add these titles manually. You can group them with the visual to achieve better control over alignment and spacing.

     

    💡 Helpful? Give a Kudos 👍 — keep the community growing
     Solved your issue? Mark as Solution ✔️ — help others find it faster

    Best regards,
    Rupasree Achari | BI & Fabric Analytics Engineer