Add support for color names in aliasColors
andrasg opened this issue · 0 comments
andrasg commented
I am trying to setup my pie chart with unified colors throughout the dashboard. I have copied the colors, I have setup on a regular graph and copied the aliasColors
section and pasted it into PanelJSON for the piechart:
"aliasColors": {
"balconyReindeer": "dark-orange",
"bedroomAC": "dark-blue",
"hob": "super-light-green",
"livingroomAC": "blue",
"microwave": "semi-dark-purple",
"oven": "dark-purple",
"radiatorpump": "semi-dark-blue",
"sonoff-cooktop": "light-purple",
"sonoff-dishwasher": "light-green",
"sonoff-fridge": "dark-green",
"sonoff-fridge-ds": "green",
"sonoff-hainfra": "semi-dark-yellow",
"sonoff-iron": "dark-green",
"sonoff-itinfra": "dark-yellow",
"sonoff-ps": "dark-red",
"sonoff-washmachine": "semi-dark-green",
"ufhpump": "dark-blue",
"warmwatercirculation": "light-blue"
}
It seems the piechart doesn't understand most of the more complex colors: