Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I wrapp the x-dimension label?

Good morning,

I have a doubt about labels in x axis. If I build a long chart, I can see my labels ok.

Imagen1.png

But if I try to reduce its size the last label disappears.

Imagen2.png

How could I solve it? Thank you in advance!

19 Replies
Clever_Anjos
Employee
Employee

Patricia, please combine my two suggestions, using replace and 45 degrees

Not applicable
Author

Thank you Clever. It works.

Imagen1.png

It's not the way I wanted because it isn't my global document format. But thank you a lot anyway!

Not applicable
Author

I can't by legal protection of my data... Thank you!

Clever_Anjos
Employee
Employee

Maybe this expression could be nicer, please let me know if you like

=left(vField,Index(vField,' ',2)) & chr(10) & SubField(vField,' ',-1)

rustyfishbones
Master II
Master II

How do you get the option to Truncate label, I have not seen this before?

Is this in an updated release?

Clever_Anjos
Employee
Employee

11.20SR5

Not applicable
Author

In Preoperties --> Limit Legend

Imagen5.png

rustyfishbones
Master II
Master II

Hi Clever,

I have 11.2 SR2, how do I get SR5?

Will this have any effect on all my current documents?

Regards

Alan

Clever_Anjos
Employee
Employee

Hi Alan Farrell, go to download area QlikView Personal Edition | QlikView and search for 11.20 SR5.

"Will this have any effect on all my current documents?" maybe bug fixes and some improvements

Not applicable
Author

Clever thanks again!

When I have 45 degrees labels, it works perfectly:

Imagen1.png

It doesn't work when I have horizontal labels:

Imagen2.png

I have tried the next formula too:

=left(vField, findoneof(vField, ' ', ceil(substringcount(vField, ' ')/2))) & chr(13) & chr(10) & right(vField, len(vField) - findoneof(vField, ' ', ceil(substringcount(vField, ' ')/2)))

with the same result as your formula.