Forum Discussion
Custom Theme Preview for Visuals: Visual Name for Matrix?
- 8 years ago
Hey,
maybe one of the mysteries of naming things ...
The name you have to use for the matrix visual is pivotTable:
"pivotTable": { "*": { "rowHeaders": [{ "fontSize":14 }], "columnHeaders": [{ "fontSize":14 }], "values": [{ "fontSize":12 }] } }Regards
Tom
Hey Anonymous,
unfortunately I do not have a more complete set of documentation. The documentation also states that there is a visual called "pivotTable". I wanted to change the "Matrix" visual, because matrix, didn't work I tried promising visuals, and pivotTable worked - that simple.
Regards
Tom
Thanks Tom! If I went down the list one by one I would have found it eventually. Thanks for the time savings and for pointing me in the right direction!
- Anonymous8 years agoNot applicable
In case anyone is wondering, you can set the font color, the syntax is like this:
"visualStyles": { "*": { "*": { "*": [ { "fontSize": 10, "fontFamily": "Segoe UI", "color": { "solid": { "color": "#E6E6E6" } } } ] } } }There's a great tool for creating custom themes here: https://powerbi.tips/tools/report-theme-generator-v3/
Thank you to Adam Harper from PowerDAX for pointing it out!
- Anonymous8 years agoNot applicable
Glad the theme generator was updated! Thanks for the tip!
What did you refer to to figure out the syntax of "color": { "solid": { "color": "#E6E6E6" } } ??? That's not in the reference material that was published along with the September update.
- Anonymous8 years agoNot applicable
I know! It would be really great if the documentation were more complete. I mined it out of the file produced by the theme generator.