cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Paul_PowerBI Regular Visitor
Regular Visitor

Adding a legend to Clustered Bar Chart is causing rendering issues

Hi,

 

Adding a legend to a Clustered Bar Chart is causing rendering issues.

 

Behaviour before adding the legend:

Before Legend.png

 

Sidebar before Legend.png

 

Behaviour after adding the legend:

After Legend.png

 

Sidebar after Legend.png

 

 

Notice how the bar widths have shrunk and are mis-aligned with the y axis. Is this a known bug, or am I just missing something?

I am using the November 7th Release of Power BI Desktop and I have changed the dimensions of the page to: 850x1280 pixels.

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
DAX0110 Member
Member

Re: Adding a legend to Clustered Bar Chart is causing rendering issues

Hi @Paul_PowerBI, no it's not a bug and you didn't miss anything - the gaps are caused by blank values at the intersection of axis and legend dimensions.

View solution in original post

4 REPLIES 4
DAX0110 Member
Member

Re: Adding a legend to Clustered Bar Chart is causing rendering issues

Hi @Paul_PowerBI, no it's not a bug and you didn't miss anything - the gaps are caused by blank values at the intersection of axis and legend dimensions.

View solution in original post

RustyNails Regular Visitor
Regular Visitor

Re: Adding a legend to Clustered Bar Chart is causing rendering issues

Sorry for a late bump - but how do you go around this issue? I am not sure how to remove the gaps. I sort of understand that the blank values are values with no data but how do you stop the visual from cross joining all the values in legend?

Anonymous
Not applicable

Re: Adding a legend to Clustered Bar Chart is causing rendering issues

Hi, anyone please explain how to solve this misalignment issues while adding the legends.
ahmedk003 New Member
New Member

Re: Adding a legend to Clustered Bar Chart is causing rendering issues

Change the chart type to stacked column chart or stacked bar chart from the clustered chart. That solved the gap issue.

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 340 members 3,515 guests
Please welcome our newest community members: