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

Announcements
Congratulations to the new Qlik Luminary and Partner Ambassador class! Meet them here
cancel
Showing results for 
Search instead for 
Did you mean: 
ol_dev
Creator
Creator

How to change the axis/value label font size for Qliksense gauge chart?

Hi,

I am trying to adjust the Qliksense's axis and value font sizes for Qliksense gauge chart, but it seems that this feature is unavailable unlike bar chart and pie chart? The styling panel only allows changing the font color of axis and value labels. 

Gauge Chart with value and axis labels.png                    Gauge Chart styling options limited.png

 

Why does it behave this way? Is there a workaround for this limitation? Can styling with multi-KPI help with this? I cannot even find which div element contains these labels, it seems that the entire chart is drawn with canvas dynamically using JS? 

Labels (4)
2 Replies
priscilarubim
Partner - Creator II
Partner - Creator II

I've run into this before! The gauge chart only lets you change font type and color... no size option. I think it's because it's rendered via canvas, which means there's no way to access the elements individually via CSS. Back then I couldn't find any workaround, so I'd love to hear if anyone has! 🙂

lennart_mo
Creator II
Creator II

Hi @ol_dev

I just had a look at one of my dashboards because I remembered adding lots of custom styling in it and it also including a gauge.

Here's the CSS that worked for me: 

[data-key="radial-axis"] {text {
font-size: 16px !important;
}}

Best regards

Lennart