Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Size of labels of Dimension Axis of bar chart if style orientation is changed to horizontal

Hi,

I am trying to show labels fully without changing the size of chart(left one), So I tried to change oreintation like in right style.

image2..PNG.png

Any advice on how to display label fully without changing size of chart.

Regards,

Palash Bansal

6 Replies
Not applicable
Author

Hi,

In the dimension, Add a calculated dimension.

=Replace(Country,',','\n')

So spaces will be replaced by new line character.

Not applicable
Author

Thanks for answer ,But I tried to implement this.But It doesn't reflect any changes.Can you please elaborate little more how this works?

Not applicable
Author

And I tried to use space instead of comma (=Replace(Country,'  ','\n') ) also,but doesn't worked either.

Not applicable
Author

Hi,

Check the attached. I hope that might help.

Not applicable
Author

Hi,

this is what  your test.qvw file shows

Capture.PNG.png

And this is almost same what I have posted,it doesn't show how to handle labels of long length.

I think we are not on same page. What I was trying do is:

1.When chart is horizontal not vertical, how to change orientation of lables as we done in vertical chart.

2.if lenght of label is long how to change size of bar or something to completly show label without changing size of chart.

Not applicable
Author

2nd chart shows the labels wrapped. look at the 2nd graph compare both