This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |