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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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 Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.