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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Question about the color and font

Hi,

Fontsize:

If I am working with a graph and I want to change the fontsize of the text, I know how to change the font for the entire graph, but

I want to change the font only for one expression in order to see the value of the data of this expression in the graph but with an specific fontsize lower than the rest of the grapg

Color:

In a textobject I have an expression, I want to change the color of the result number of the expression depending on the value, how can I do it in a textobject?

Thanks

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

  1. Fontsize: there are a number of things you can change per expression in the Text Color and Text Format nodes of each expression. Use a <Hn> tag with n = a value between 1 (large) and 6 (small). See also: Size of font on data points
  2. Color: add the value expression embedded in an IF() to set a different text color depending on the outcome. Do this by setting the text color to Calculated and entering this expression in the calculation field. For quick results, use rgb() or color functions to get the proper results.

Best,

Peter

View solution in original post

2 Replies
sunny_talwar

Can you share a sample where we can see what exactly are you looking for?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

  1. Fontsize: there are a number of things you can change per expression in the Text Color and Text Format nodes of each expression. Use a <Hn> tag with n = a value between 1 (large) and 6 (small). See also: Size of font on data points
  2. Color: add the value expression embedded in an IF() to set a different text color depending on the outcome. Do this by setting the text color to Calculated and entering this expression in the calculation field. For quick results, use rgb() or color functions to get the proper results.

Best,

Peter