Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi team,
I am looking to add some space between the legends to improve the look from a UX perspective. Currently I have used the default legends for a stacked bar.
Fr example, here the state names in legends are too cluttered and I wanted to increase the spacing between them. I am attaching the pbix file location for reference. Please do let me know if any other information is needed. Thanks!
File location: https://drive.google.com/file/d/10TUUDaKXraj_njwRtKb-iMlS2uK9Agbq/view?usp=sharing
Select your graph, go to your axis labels, and add spaces after the label name.
I added a couple of spaces here to each of my values, and it spaced out my legend values more. Hope this helps!
@TejasMahind there is no in-built solution for this, you can try checking custom visual or
you can increase the size of the legend to make it more readable,
Hi TejasMahind,
As fas I know this is not possible from the visual formatting pane. You could try to create another column in your dataset adding spaces at the end using UNICHAR(127) (space character) and REPT function.
For example State_legend = State & REPT(UNICHAR(127),3).
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
86 | |
81 | |
53 | |
37 | |
35 |