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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
zjdoonj
Contributor III
Contributor III

showing label on a button object on multiple lines instead one single line

Hi Friends,

Can we show label on a button object on multiple lines instead single line in qlik sense. e.g I have a button below. Can I show "New York" on one line and "New Jersey"  under that on second line. The requirement  is, if we have a long label we should be able to show it on multiple lines for better visibility.

zjdoonj_0-1633034548590.png

 

Thanks.

3 Replies
Digvijay_Singh

AFAIK its not possible, Its start showing ellipses(...) when it doesn't fit the whole text. I raised one idea in the idea section for the dimension labels, but I know the same behavior persists everywhere and CHR(10)/CHR(13) are ineffective.

https://community.qlik.com/t5/Suggest-an-Idea/Text-wrapping-is-needed-in-Bar-Line-chart-dimension-la...

 

zjdoonj
Contributor III
Contributor III
Author

Hi Digvijay,

Thanks for responding. Can you please explain how you achieved that via extensions? as I see you have done it for the bar chart in your example above. Can you please explain the process or share code for that? 

Thanks

Digvijay_Singh

We use this below extensions developed by @Yianni_Ververis , the code for text wrapping is available in lib folder - 

https://github.com/yianni-ververis/SenseUI-BarChart

But we use it mostly for nprinting reports, for Dashboards or apps it might not be as responsive as you desire