Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
hopkinsc
Partner - Specialist III
Partner - Specialist III

Custom Themes

Hi all,

Is there a way i can change the properties of a chart type using a theme but leaving all other properties for everything else untouched (Sense Classic theme)?

What i am trying to do is  change the font size in a combo chart for the axis and legend values. 

I have copied the example JSON script from the Qlik help pages and I have found how to change the font sizes as per my requirements but when i install the theme and 'activate' it i am seeing other changes happen to the combo chart (dark borders) but i can't see where this is done in the JSON file. 

Ideally what i want is to use the JSON file for the sense classic theme and make the changes to the font size there but i cam't seem to find the senseclassic theme files. 

Could anyone help please?

2 Replies
dwforest
Specialist II
Specialist II

https://help.qlik.com/en-US/sense-developer/November2019/Subsystems/Extensions/Content/Sense_Extensi...

Shows in the json file, first line:

{ "_inherit": true,

Then just override/modify the setting you want to change.

 

hopkinsc
Partner - Specialist III
Partner - Specialist III
Author

Hi, thanks for your reply..

All i want to change is the below, red text..

"comboChart": { "backgroundColor": "@light", "title": { "main": { "color": "@default", "fontSize": "@font-normal" }, "subTitle": { "color": "@default", "fontSize": "@font-normal" }, "footer": { "color": "@default", "fontSize": "@font-normal", "backgroundColor": "@light" } }, "axis": { "title": { "fontSize": "20px", "color": "@default" }, "label": { "name": { "color": "@default", "fontSize": "20px" } }, "line": { "major": { "color": "@default" }, "minor": { "color": "@default" } } }, "legend": { "title": { "fontSize": "20px", "color": "@default" }, "label": { "fontSize": "20px", "color": "@default" } } },

All of the other properties within in the full QS app i want to keep as the default theme. 

Do you know how the complete JSON file should look?