Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
Power BI's native visuals (such as column chart) hide or shift the data labels very intelligently when they detect a collision.
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 ?
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