Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all.
I would like to set a new font-family in my charts for axes labels
The standard Qlik fonts are rendered in a canvas object which means they are not editable using css.
The theme json allows font-size and font-color, but does not appear to offer a way to change the font-family.
However this page in the docs says that you can change the font.
I am unable to find further documentation on how to do so.
Through some googling I have found this site https://statsregnskapet.dfo.no/ which uses Qlik charts and uses a custom font in the labels in the axes - which is what I need to do.
Please could someone advise how this is possible?
Have you tried to set the font to the body tag in your css like this?
body{ font-family: sans-serif; }
As far as I can see, the stylesheet is optional and just loads with the theme on the client side and seems like doesn't have any affect to the charts and graphs?
I can overrride the text elements from Qlik with my local stylesheet (CSS) but the labels in the charts are rendered in canvas and css does not style those.