Forum Discussion

Sebastian's avatar
Sebastian
Icon for Advocate III rankAdvocate III
8 years ago
Solved

only thin bars in bar chart with legend

Hi all,

 

i need help with my bar chart. 

I have created a bar chart which shows the value for my items.

If I only use the axis the visual shows the bars in the right size. If I also use a legend the visual only shows thin bars.

Is there a way to increase the size of the bars?

 

 

 

Thanks for your help.

  • Hi Sebastian,

     

    The question related with this is that you have several categories for each x-axis value so he is making the spaces between the x-axis with size to acommodate all the categories, what I can see from your visual you have one categorie per x-axis value I would change my chart to a stacked column chart.

     

     

    Regards,

    MFelix

6 Replies

  • Hi Sebastian,

     

    The question related with this is that you have several categories for each x-axis value so he is making the spaces between the x-axis with size to acommodate all the categories, what I can see from your visual you have one categorie per x-axis value I would change my chart to a stacked column chart.

     

     

    Regards,

    MFelix

    • Sebastian's avatar
      Sebastian
      Icon for Advocate III rankAdvocate III

      Hi MFelix,

       

      Your absolutly right, it was a stupid mistake by myself.

      Thanks for your answer.

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

      The problem with using a Stacked Column Chart though is that you lose the option to have Data Labels positioned "Outside End". With a Stacked column chart, the value labels can ONLY be "Inside" the bars.

       

      Is there a way to have both fat bars AND Outside End positions data labels?

  • Hi,

    Please Ensure the "Type" is set to "Categorical". This will prevent Power BI from trying to evenly distribute space across a continuous range. from the "Format" pane, expand the "X-Axis" settings