Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

How to customize the font size on KPIs and other objects in Qlik Sense

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How to customize the font size on KPIs and other objects in Qlik Sense

Last Update:

Jul 5, 2023 5:51:08 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jun 26, 2019 8:54:49 AM

Font size in Qlik Sense objects is dynamic, so it can automatically change according to the length of the text and on the space available. 

Customization is possible through the creation of custom themes. 

Getting started building custom themes  

For general information on how to begin with custom themes. In this example, you will create a basic theme extension where we modify the font size and the primary colors.

Basic object styling

Start with the basics. These examples show how to apply basic styling to your Qlik Sense objects using custom themes. All properties referenced in the examples below are described in detail in Custom theme JSON properties.

Extended object styling

Style individual objects. These examples show how to apply extended styling to the individual Qlik Sense chart types using custom themes. All properties referenced in the examples below are described in detail in Custom theme JSON properties.


Example:

In general, it is possible to use a theme to set the label size. Here is an example that shows how the font is kept static in a pie chart.

"pieChart": {  
   "axis": {
      "title": {  
         "fontSize": "8px"
      }  
   },  
   "label": {
      "name": {  
         "color": "black",
         "fontSize": "8px"
      },
      "value": {  
        "color": "black",  
         "fontSize": "8px"
      }  
   }
}

 

 

Environment:

Qlik Sense Enterprise on Windows 
Qlik Cloud 
Qlik Sense Desktop 

 

Comments
Penguins_are_Cool
Partner - Contributor II
Partner - Contributor II

is it possible to change the font size of a  line chart using its object ID, I don't want to change all line chart properties.

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Penguins_are_Cool 

Let me look into this question for you.

All the best,
Sonja 

(I agree with your username, by the way.)

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Penguins_are_Cool 

You can only customize specific types of charts (see Custom theme JSON properties); individual charts cannot be customized.

All the best,
Sonja 

Version history
Last update:
‎2023-07-05 05:51 AM
Updated by: