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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

Default color for Shape Map in theme

I use a custom theme to set default options for a number of visuals. I would like to have the theme automatically a custom color for the Color option under the Default Color style card for Shape Maps. I added the following to my theme under the visualStyles section:

 

"shapeMap": {
	"*": {
		"defaultColor": [{
			"color": "#F6E3D2"
			}]
	}
}

The theme loads correctly, but the map still defaults to using the standard grey instead of my custom color. Any ideas?

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @jcpewittyancey ,

 

The given theme file does not target the default color for shape map. Here is a correct snippet:

 

2.PNG

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

3 REPLIES 3
heryox
New Member

Hi, for don't wait the solution from microsoft you can manage the color from format menu.
If this post help you set this like solution

Thanks
v-frfei-msft
Community Support
Community Support

Hi @jcpewittyancey ,

 

The given theme file does not target the default color for shape map. Here is a correct snippet:

 

2.PNG

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
v-frfei-msft
Community Support
Community Support

Hi @jcpewittyancey ,

 

Based on my test, I can reproduce your issue here. Thanks for pointing it out, I have reported it to PG, Once fixed, will let your know.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.