Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qliktoview123
Contributor II
Contributor II

Text format a expression in a chart

Hello ,

I need to change the text format of a particular expression.

example:

I want my Total revenue to be bold and font size of 10.

I am sharing the screenshot in the attachment.

Please help me out.

Thanks

11 Replies
Not applicable

"Value on Data" point uses the axis font by default, but can be modified using the "Text Format" sub expression, setting it to ='<H1>' will give you a larger font, H6 a smaller font, with a few options inbetween. You can also use <B>, <I> and <U> for Bold, italic and underline." FYR: Changing Fontsize on the Data Point Values | Qlik CommunityBy Johan

Hope it helps you!!

qliktoview123
Contributor II
Contributor II
Author

how can I use them in a expression.Please tell me.

Not applicable

Capture.JPGCapture2.JPG Hope it helps bro!

qliktoview123
Contributor II
Contributor II
Author

If i am  choosing H1 or H6,the font size is same.It is not working.

qlikview979
Specialist
Specialist

HI,

do you want like this

Untitled.png

qliktoview123
Contributor II
Contributor II
Author

no,not this.

qliktoview123
Contributor II
Contributor II
Author

I just want to make my label bold,can it happen?

Anil_Babu_Samineni

Atul,

For bold you need to put '<b>'


for Size you need to add Headers.


Here, Final Expressions are


You can use the expression's Text Format to change the font size of the numbers displayed on the bar. Values <H1> through <H6> will change the size.



'<H1'> & '<b>'

'<H2'> & '<b>'

'<H3'> & '<b>'

'<H4'> & '<b>'

'<H5'> & '<b>'

'<H6'> & '<b>'

The H1=36px, H2=24px, H3=21px, H4=18px, H5=16px, H6=14px, that is. (or, if you like, H1=2em, H2=1.5em, H3=1.17em, etc., the point isn't the numbers themselves, but the relation between them)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
geetha_n
Contributor III
Contributor III

Hi all,

I tried <b>, <i> these are working fine, but <h1> to <h6> are not working.

Any idea of solving these.