Forum Discussion

jcpewittyancey's avatar
7 years ago
Solved

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?

3 Replies

  • v-frfei-msft's avatar
    v-frfei-msft
    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.

     

  • v-frfei-msft's avatar
    v-frfei-msft
    Community Support

    Hi jcpewittyancey ,

     

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

     

  • 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