Qlik Community

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Qlik Insider: SaaS capabilities for Data Integration and Analytics, May 25th! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Ethel
Creator
Creator

Pie chart title(json file)

Ethel_1-1632419476012.png

I'm  making changes in theme and trying to make title above pie chart (word "test") bigger. 

this is my code in json file.

"pieChart": {
"axis": {
"title": {
"fontSize": "20px"
}
},
"label": {
"name": {
"color": "@myColorDark",
"fontSize": "20px"
},
"value": {
"color": "@myColorDark",
"fontSize": "20px"
}
}
},

What should I change in my code? Is there any way to make changes in css file?

Thanks a lot in advance!

2 Replies
Ethel
Creator
Creator
Author

I've figured out that technically it's a button, not a title. Does anyone know by any chance how to write json or css code for button properties(font size). Thanks a lot in advance!

Ethel
Creator
Creator
Author

I fond code for pie chart title(button)

<button class="qc96e30 qc96e1 qc96e3 qc96e16 qc96e22" tabindex="-1" type="button" title="test" style="display: flex; align-items: center; width: 100%; color: rgba(89, 89, 89, 0.8);"><span class="qc96e2"><span dir="ltr" style="flex: 1 1 auto;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-weight: normal;font-family: &quot;Source Sans Pro&quot;, sans-serif;font-size: 12;color: rgb(51, 51, 51);">test</span></span></button>

Can you please help me to write css to change font to 14px?

Thanks a lot in advance!!!