Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

brindlogcool
Contributor III

Font size

is it possible to override the font size (S,M,L) in java script to create visualization on fly with css font size?

Tags (1)
2 Replies

Re: Font size

If you mean can you write a custom visualisation that controls it own font sizes, then the anser is yes.

brindlogcool
Contributor III

Re: Font size

Hi Bill, Thanks for your response..

I tried to do calculations at fly

  app.visualization.create('kpi',

  ["=Count(session_id)"],

  {"fontSize" : "L" ,"showTitles":"false" ,"showMeasureTitle":"false", "textAlign": "center" }

  ).then(function (visual) {

  visual.show('QV01');

  });

   <div  id="QV01" class="qvplaceholder" ></div>     

Values are getting displayed correctly but i couldn't change the font size. Could you suggest how to override it ?

Community Browser