Forum Discussion
UlrickT
9 years agoFrequent Visitor
Report Theme Colors
I know that its possible to make a list of DataColors in a JSON file. But what is the logic behind them? In which order are these used when applying the Theme to e.g. a PIE chart? It seems to be...
- 8 years ago
Hi UlrickT,
Yes, the colors show up as you list them in the JSON. Power BI extends the colors from lighter to it. After all, the colors listed in the JSON aren't enough.
{ "name": "St Patricks Day", "dataColors": ["#568410", "#3A6108", "#70A322", "#915203", "#D79A12", "#bb7711", "#114400", "#aacc66"], "background":"#FFFFFF", "foreground": "#3A6108", "tableAccent": "#568410" }Best Regards!
Dale
TomMartens
9 years agoSuper User
Hey,
currently there is just this piece of documentation
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-report-themes/
,but it dooes not describe the intricate working how the data colors are assigned to edges of a pie.
But maybe it reveals some insight
Regards