Forum Discussion
JSON Theme for Pie Chart - detail labels
- 7 years ago
Thanks Maggie, that helped me. In order to be able to show "All Detail Labels" I had to change the code in the labelstyle section. Here's what I did in case it helps anyone else.
"pieChart":{"*":{"general":[{"responsive":true}],"labels":[{"show":true,"color":{"solid":{"color":"#777777"}},"labelStyle": "Category, data value, percent of total","fontFamily":"Segoe UI","fontSize":9,"labelDisplayUnits":"0"}]}},
Hi abloor
Here is a example of Pie chart
https://github.com/deldersveld/PowerBI-ThemeTemplates/blob/master/Pie.json
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Maggie, that helped me. In order to be able to show "All Detail Labels" I had to change the code in the labelstyle section. Here's what I did in case it helps anyone else.
"pieChart":{"*":{"general":[{"responsive":true}],"labels":[{"show":true,"color":{"solid":{"color":"#777777"}},"labelStyle": "Category, data value, percent of total","fontFamily":"Segoe UI","fontSize":9,"labelDisplayUnits":"0"}]}},