Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Joosh
Contributor II
Contributor II

Theme, Chart Label Color

I am trying to change the color of the labels in charts, I have changed the label color within my theme.json with "@TextColor": "#ffffff" 

"label": {
"name": {
"color": "@TextColor",
"fontSize": "@TextSize"
},
"value": {
"color": "@TextColor",
"fontSize": "@TextSize"
}
},

What i have noticed is it works on the basic qlik charts such as a bar chart ( the label color changes to white) but when I select Variance Waterfall from the Qlik Visualization Bundle the color of the labels are grey. Does anyone know why this is?

Labels (1)
2 Replies
rklaytonmb
Partner - Creator
Partner - Creator

hello, managed to solve this problem, I'm facing the same situation

 

yilmazmurat
Contributor III
Contributor III

You can handle this from the json file of the theme.  Just add the code piece below to the json file.

Ex: For gauge;

 

"gauge": {
"main": {
"color": "@TitleColor",
"fontSize": "@TitleSize"
},
"subTitle": {
"color": "@SubtitleColor",
"fontSize": "@SubtitleSize"
},
"footer": {
"color": "@FooterColor",
"fontSize": "@FooterSize",
"backgroundColor": "#ffffff"
},
"label": {
"name": {
"color": "@TextColor",
"fontSize": "@TextSize"
},
"value": {
"color": "@TextColor",
"fontSize": "@TextSize"
}
}
}