PowerBI-ThemeTemplates icon indicating copy to clipboard operation
PowerBI-ThemeTemplates copied to clipboard

Can theme attributes be set for the new shapes in Power BI?

Open steved-MarketGrunt opened this issue 3 years ago • 3 comments

I noticed the Json template file for shapes doesn't appear to work with the new shape styles. Is this your understanding as well?

steved-MarketGrunt avatar Jan 13 '22 01:01 steved-MarketGrunt

Hey @steved-MarketGrunt! Thanks for opening your first issue. We appreciate your contribution to this project! One of our project maintainers will review this soon.

github-actions[bot] avatar Jan 13 '22 01:01 github-actions[bot]

Yes, there's an open issue to check them - there were two different names to reference shapes. I believe you need to change the term 'shape' to 'basicShape' as in the case below:

...
     "visualStyles": {
		"basicShape": {
		}
    }
...

MattRudy avatar Jan 13 '22 15:01 MattRudy

"basicShape" appears to work with unconverted shapes. "shape" which I assume is for the new format shapes doesn't appear to be doing much. It certainly doesn't change the fill and line colour from the default values.

BTW, I appreciate that you are doing this on your personal time so, let me know if I can be of assistance in resolving this issue. I'm happy to share any resolution back to the group.

steved-MarketGrunt avatar Jan 13 '22 21:01 steved-MarketGrunt