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: 
olivierrobin
Specialist III
Specialist III

labels truncated in chart

hello

You will find a sample in the attached qvw.

The problem is :

I have a label which is the concatenation of two texts and I want i to be displayed  on the points of data. The problem is that this label may be truncated (see value for key b)/

as you can see, the chart is sized to the maximum.

I also tried :

create another column with value multiplied by a factor (eg: 1.5 , 2 , ....)

fix a max scale value in axis / scale

it seems to work but there is always a case where label is truncated.

I have the same problem with vertical bars where label is split on 2 lines.

Any ideas ?

4 Replies
Frank_Hartmann
Master II
Master II

try like this:

Unbenannt.png

olivierrobin
Specialist III
Specialist III
Author

hello

as I said, I already tried it and it seems to work but there is always a value which make the label to be truncated

jonathandienst
Partner - Champion III
Partner - Champion III

No easy workaround other than reserving enough space. You could also use

Max(Aggr(Sum(val1),key)) * 1.3


Adjust the factor as required

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Frank_Hartmann
Master II
Master II

and when you also take into regard the length of the visible text ?

static max formula for sum(val1) :

max(aggr(sum(val1),key)) * len(sum(val1)&sum(val1))