Forum Discussion
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:
Behaviour after adding the legend:
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,
Hi Anonymous, 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.
- Anonymous6 years ago
Change the chart type to stacked column chart or stacked bar chart from the clustered chart. That solved the gap issue.
5 Replies
- DAX0110Resolver V
Hi Anonymous, 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.
- AnonymousNot applicable
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?
- faparicioRegular Visitor
Hi, did you manage to work around this? I'm having the same problema. Thanks!
- AnonymousNot applicableHi, anyone please explain how to solve this misalignment issues while adding the legends.
- AnonymousNot applicable
Change the chart type to stacked column chart or stacked bar chart from the clustered chart. That solved the gap issue.