i am trying to find a way to change the label colors for particular chart in apache superset. I am unable to get it working as mentioned in the documentation by adding label_colors to JSON Metadata of dashboard.
Asked
Active
Viewed 6,640 times
1
-
I've asked the same question with a bit more detail here https://stackoverflow.com/questions/54326962/where-are-label-colour-keys-stored-in-apache-superset – mapping dom Jan 24 '19 at 12:47
-
Hi. thanks for information. Did you find any solution ? – Pankaj Jan 28 '19 at 09:45
-
No I'm still trying to figure this one out – mapping dom Jan 28 '19 at 09:56
-
It seems functionality is still not implemented for this type of customisations. – Pankaj Jan 28 '19 at 10:58
-
I got it to work, see my answer to my post and let me know if that works for you – mapping dom Jan 31 '19 at 16:39
-
Hey thanks for the response.. i tried but was unable to get any results. i have moved to ELK to create the visualisations from superset. cheers. – Pankaj Mar 19 '19 at 18:47
2 Answers
2
You can add like this with your column names in Edit Chart Metadata ---> Parameters
"label_colors":{
"Girls":"#FF69B4",
"Boys":"#ADD8E6"
}
Hope it works.

Sree Eedupuganti
- 440
- 5
- 15
1
I don't think you can change color labels for an individual chart anymore, because the value has to be consistent for the rest of the dashboard, i.e. you will have to specify it on dashboard level.
To do that, have your dashboard on edit mode, press the 3 dots and choose Edit Properties. Look in the advanced option which contains JSON metadata, and add your labels as shown by Sree here.
"label_colors":{
" Girls":"#FF69B4",
"Boys":"#ADD8E6"
}
Checkout Preset's tutorial on that subject, second half shows how it's done now

AHAMES
- 61
- 11