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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.