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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.