Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Ethel
Creator III
Creator III

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!

3 Replies
Ethel
Creator III
Creator III
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 III
Creator III
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!!!

richard_simpson
Partner - Contributor III
Partner - Contributor III

Hi @Ethel 

I realise that your post was over 2 years ago but hopefully you have now found that Qlik Sense allows you to "style" your charts (an option at the top of the presentation settings) and within styling you can choose general settings or  chart settings and change font settings: font name, size, colour and toggle bold, italics, underscore.

The only thing that seems to be missing is being able to centre a title rather than have it auto left-aligned?

I hope that helps you and others with a similar question in the future...