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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.