Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Axis labels far from line

Hello, I have a simple problem, so I would love for it to have a simple solution 🙂

I am using a stacked bar and for some reason my X-axis data labels are positioned far from the line.

I would like them to be under the bars, without any unnecessary spacing.

I tried a lot of things, but no luck. When I change a column used as Axis, the space is gone, but I need this one.

It is formatted as Whole numbers.

Thanks in advance.

 

  • Hi  Anonymous ,

     

    Set Y axis start from 0:

    Best Regards,
    Kelly

    Did I answer your question? Mark my post as a solution!

4 Replies

  • Anonymous , I tried out, I have not got th much of space. Make sure you are on latest version

     

    Can you share a sample pbix after removing sensitive data.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you for your answer. Luckily, I reached a solution. After filtering out individual categories, the space was going and coming back. I found out the problem was with bar "2016" which actually consists of 2 categories, and the one that is too small to be visible is negative. So the minus pushes the labels down, even though it is practically invisible. Best regards 🙂

       

      P.S. I am on the latest version, and it would be nice if the distance of labels from the axis could be modified, as we can do in Excel graphs. It would help in these kinds of situations.

      • v-kelly-msft's avatar
        v-kelly-msft
        Icon for Community Support rankCommunity Support

        Hi  Anonymous ,

         

        Set Y axis start from 0:

        Best Regards,
        Kelly

        Did I answer your question? Mark my post as a solution!