Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
brindlogcool
Creator III
Creator 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?

2 Replies
Anonymous
Not applicable

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

brindlogcool
Creator III
Creator III
Author

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 ?