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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello, everyone,
I'm creating a custom scatterplot and one of the features I wanted to bring from the native scatterplot is category labels. The problem is that many labels are overlapping, cluttering the chart.
I saw DataLabelManager from Chart Utils has a method called hideCollidedLabels that might help me rearrange the labels and hide it on the last instance, but I'm not finding a way to use it properly and I can't find an example of how to use it.
Could you help me with any snippets or suggestions, please?
Best,
Italo
Hi @italodoliva,
I'd like to suggest you take a look at the official document about the chart utils, it mentions the 'hideCollidedLabels' definitions and usage sample:
Introduction to use chart utils in Power BI visual - Power BI | Microsoft Learn
Regards,
Xiaoxin Sheng
Hello, @Anonymous,
Thanks for your answer.
I knew about hideCollidedLabels on this section of the documentation. The problem is the usage sample lacks a lot of important information. For example, what's the format of the content inside the values variable? We can not see the sample values, just the name of the variable. Also, how would the DataLabelManager know how to find the category labels in the SVG given its data?
Do you know any other source that uses hideCollidedLabels?
Thank you,
Italo
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |