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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Default Fill colour for New Shapes

Please consider changing the default Fill colour of Shape to WHITE or something subtle.

Currently, the default fill colour is RED. If we change this in the "Format Shape > Fill" to a static value, it renders fine.

However, if we use a Measure for the Fill, the shape is always rendered first with the default fill colour RED before applying the Measure value, causing an ugly flicker.

Status: New
Comments
v-yingjl
Community Support

Hi @pbi101 ,

The default shape color depends on your current report theme color in Power BI Desktop. If you want the default white color for the shape, change Color1 of theme colors to white in Customize current theme.

c1.pngc2.png

 

Best Regards,
Community Support Team _ Yingjie Li

pbi101
Frequent Visitor

Thanks @v-yingjl

 

Good to know that the default fill color for the shape is using the Color 1 of the Theme.

It would be nice if this information is included in the documentation.

 

Unfortunately, I cannot change the Color 1 in my case, as it is a Corporate theme and will affect other visuals.

I am stuck 😔

 

Another thought: 
     Instead of Color 1, is it possible to use background elements colour of the Theme as the default Fill color for the shapes?  ... which will then align with the documentation.

 

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#setting-structural-co...

"Next, you can add various color classes, such as background and firstLevelElements. These color classes set the structural colors for elements in the report, such as axis gridlines, highlight colors, and background colors for visual elements."

v-yingjl
Community Support

Hi @pbi101 ,

As far as my test, seems background elements would not affect the default shape color.

The 'Color1' is the first data color in the theme json file so if you have the custom theme, try to modify the first color code as '#FFFFFF' in the data color tab.

Attached with the comparison of Data color tab in theme json file

custom themecustom themedefault themedefault theme

 

Best Regards,
Community Support Team _ Yingjie Li

pbi101
Frequent Visitor

Thanks @v-yingjl once again.

 

Sorry. Probably there was a lack of clarity in my previous comment.

 

I do understand that the current implementation of Shape visual uses the theme's dataColors.Color1 as default. 

Unfortunately, the problem I have is that I cannot change the Color1 as it is a "Custom" Corporate theme. 

If I change it just for this purpose, it will affect all other visuals as well.


Regarding the second part of my previous comment:
... was in a way asking why Shape visual uses 'Color1' and not the 'background' color class for the default fill.

 

because as per Microsoft documentation on Themes:


data colors: The list of color hexadecimal codes to use to color shapes that represent data in Power BI Desktop visuals. 

color classes, such as background and firstLevelElements. These color classes set the structural colors for elements in the report, such as axis gridlines, highlight colors, and background colors for visual elements."

 

v-yingjl
Community Support

Hi @pbi101 ,

As my previous post, the background color and firstlevelelement seems not affect the shape color as far as my test.

 

Perhaps you can submit a new idea here about changing default shape color:

https://ideas.powerbi.com/ideas/

 

Best Regards,
Community Support Team _ Yingjie Li