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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Zubair_Muhammad
Community Champion
Community Champion

Hide Collided Data Labels

Hi,

 

Power BI's native visuals (such as column chart) hide or shift the data labels very intelligently when they detect a collision.
hide.png
I want to implement the same in a custom visual, but don't seem to find any practical example

 I believe it has something to do with chartutils' ....dataLabelManager.hideCollidedLabels function as shown in image below
But I dont know how to implement this. For example what is lableLayout.

Could you guide me ?

CollidedLabels.png


1 REPLY 1
italodoliva
New Member

Hello, Zubair,

 

I'm wondering if you found an practical example of the hideCollideLabels implementation? I'm building a custom scatterplot and I want the category labels to rearrange in order not to overlap.

 

Regards,

Italo

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.