Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
DavidWaters100
Post Patron
Post Patron

Pie chart JSON theme does not work as expected

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"}}}]}

Proud to be a Super User!
1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

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"}}
				}]
			}
		}
	}
}

n4.PNG

 

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.

View solution in original post

4 REPLIES 4
v-lionel-msft
Community Support
Community Support

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"}}
				}]
			}
		}
	}
}

n4.PNG

 

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

Proud to be a Super User!
amitchandak
Super User
Super User

@DavidWaters100 , refer the same issue was discussed here

https://community.powerbi.com/t5/Desktop/JSON-Theme-for-Pie-Chart-detail-labels/m-p/690313

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi  @amitchandak 

 

Thanks for your reply - this issue is to do with titles - I think the issue in the link was not about titles?

Proud to be a Super User!

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.