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

Get Fabric certified for FREE! Don't miss your chance! 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.