Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
martino
Partner - Contributor III
Partner - Contributor III

Changing Fontsize on the Data Point Values

I Would like to change the fontsize on the "Values on Data Point" to a size 6 but can't seem to find a way.

I Only want to change the fontsize on the "Value On Data point" the rest of the chart should remain the default fontsize .

I expect that there is an expression that makes it possible but can't find it.

Thanks in advance.

Regards

Martin

1 Solution

Accepted Solutions
kji
Employee
Employee

"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.

View solution in original post

9 Replies
kji
Employee
Employee

"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.

martino
Partner - Contributor III
Partner - Contributor III
Author

I already knew about the Bold, Italic and underlige BUT the '<H1>' was exactly what i needed.

Thank You A LOT.

/Martin

mountaindude
Partner Ambassador
Partner Ambassador

Confirmed, this works at least for line charts.

For pie charts in a Trellis the Text Format sub expression doesn't seem to make any difference though.. Not sure if it is by design, or if it is possible, or if it's a bug..

Please mark the post as a solution if it provided you with a solution to the topic at hand. Thanks!
Not applicable

I want BOLD and H1 at the same time. Could you share the syntax?

Not applicable

'<H1>' & '<B>'

Not applicable

Thanks dear

I already knew about the Bold, Italic and underline BUT the '<H1>' to '<H6>' was really helpful.

Thank You A LOT.

Jassi

Not applicable

Hi guys,

I have already used this solution and it works fine.

This time, I am trying to apply it to a pie chart to get external labels for each section.

I used the expression: if(count(distinct [Dimension])=1,[Dimension]) but I need to resize the font. It seems that the usual ='<H6>' solution does not work this time.

Any idea?

Thanks

M

Akshaya45
Contributor II
Contributor II

Hi, Where do i use this expression , can you please give some sample QVF Files.

 

Please help !!!

kumarravi
Contributor III
Contributor III

Hi,

  • Right click and select properties
  • Go to expression
  • Click + on the left side of the expression
  • Click on Text font 
    • You can write following expression there:
    • '<H1>' & '<B>' // H1 is the biggest and H6 is the smallest
    • '<H2>' & '<B>'
    • '<H3>' & '<B>'
    • '<H4>' & '<B>'
    • '<H5>' & '<B>'
    • '<H6>' & '<B>'
    • <U> //Underline
    • <I> // Italic
    • <B> // Bold

You can use combination of it using & operator.

Happy Learning 🙂 !