Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi, can anyone assist with below JSON for theme import please. My theme is long and is accepted and works, except the pie chart section below. The title bar of the piechart should be blue and white font but it does not work!
thanks
"pieChart":{"*":{"legend":[{"fontFamily":"Calibri, Calibri"}]},"title":[{"show":true,"fontColor":{"solid":{"color":"#FFFFFF"}},"background":{"solid":{"color":"#364b73"}}}]}
Solved! Go to Solution.
Hi @DavidWaters100 ,
Try to import this JSON file.
{
"name": "PieChartTemplate",
"visualStyles": {
"pieChart": {
"*": {
"legend": [{
"fontFamily": "Segoe UI"
}],
"title": [{
"show": true,
"fontColor": { "solid": { "color": "#FFFFFF"}},
"background": { "solid": { "color": "#364b73"}}
}]
}
}
}
}
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @DavidWaters100 ,
Try to import this JSON file.
{
"name": "PieChartTemplate",
"visualStyles": {
"pieChart": {
"*": {
"legend": [{
"fontFamily": "Segoe UI"
}],
"title": [{
"show": true,
"fontColor": { "solid": { "color": "#FFFFFF"}},
"background": { "solid": { "color": "#364b73"}}
}]
}
}
}
}
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your help on this, just seen it has been accepted as solution
@DavidWaters100 , refer the same issue was discussed here
https://community.powerbi.com/t5/Desktop/JSON-Theme-for-Pie-Chart-detail-labels/m-p/690313
Hi @amitchandak
Thanks for your reply - this issue is to do with titles - I think the issue in the link was not about titles?
User | Count |
---|---|
92 | |
85 | |
76 | |
66 | |
62 |
User | Count |
---|---|
110 | |
96 | |
95 | |
64 | |
57 |