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...
- 9 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
v-jiascu-msft
9 years agoMicrosoft Employee
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
Anonymous
7 years agoNot applicable
Coudl you please look into my question and reply if there is any work around.
Here is the link for my post:
Thanks in advance