The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Dear Forum,
I am creating my own custom visual and would like to wordwrap the data labels on a chart. I have been able to display labels returning textMeasurementService.getTailoredTextOrDefault (from the PowerBI formatting utils) but, of course, that truncates long labels with an ellipsis. I was hoping to use textMeasurementService.wordBreakOverflowingText but have not been able to find an example of how to work with that. Can anyone help with an example code snippet please?
User | Count |
---|---|
8 | |
5 | |
5 | |
4 | |
2 |
User | Count |
---|---|
10 | |
9 | |
7 | |
7 | |
6 |