Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
BetoZM
New Member

Change size of space between visuals and legend in Chart

Hello Everyone!

I've encoutered a problem trying to separate each Column from a Stacked Column Chart into a single one, I know that there might be better options but this is what we got...

 

BetoZM_1-1673306844175.png

Is there any way to change the size of these blank spaces?

I'm trying to keep the column as big as posible but with it's legend closer, every time I try to do it by dragging the window the graph becomes smaller or the legend becomes unreadable.

I'm not that experienced with PBI so maybe it's obvious and I'm missing something.

 

Thanks!

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @BetoZM ,

 

There is always some white space that is inputed, taking into account your description I assume you are getting a single column by filtering out the values of the x-axis.

 

I see two alternatives:

  • Remove the X-Axis category but continue with the filter on the visualization then add the X-axis title manually that will allow to keep the bar with some big size

You can see below that the charts are identically in size but the gaps are smaller on the one of the rigth

MFelix_0-1673311040481.png

 

  • Second option is to create a table or another type of visualization that simulates the legend and you can place where you need.

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @BetoZM ,

 

There is always some white space that is inputed, taking into account your description I assume you are getting a single column by filtering out the values of the x-axis.

 

I see two alternatives:

  • Remove the X-Axis category but continue with the filter on the visualization then add the X-axis title manually that will allow to keep the bar with some big size

You can see below that the charts are identically in size but the gaps are smaller on the one of the rigth

MFelix_0-1673311040481.png

 

  • Second option is to create a table or another type of visualization that simulates the legend and you can place where you need.

Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português





I had to do the second option, create another chart that will take care of the legend, then make the main chart where the column is without Background so ir can be as close as posible.

There should be a way to change these kinds of spaces, since sometimes are unnecessary at most.

 

Thanks for the help though!

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.