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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.