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 we avoid Gap between bars and y-axis if we are inserting new expression for pop-up lables?

Dear Gurus

    

When I'm trying to create expression for pop-up labels for bar chart, I'm getting huge gap between y-axis and bars. Is there any solution to get rid of this. Please find below screen shot for more info

Normal chart before applying expression for pop-up lables

Normal chart.PNG.png
New Expression added for pop-up labels

expression for pop-up on bars.PNG.png

Gap between y-axis and bars

Gap between y-axis and bars.PNG.png

Thank you.

Regards,

Srinivasu

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

np....something funky going on. i am unable to replicate it on my end. looks good when i try it.

1.png

View solution in original post

5 Replies
Anonymous
Not applicable
Author

there must be a null value in your countries list. how does your dimension tab look? did you try checking suppress null values?

Not applicable
Author

Thanks for your reply Saradhi. I think there is no null values.... Please find below script which I added

LOAD * Inline [

Country, Sales $, Costs $

Germany, 900, 1000,

Japan, 600, 400,

UK, 800, 700,

USA, 1000, 800

];

Anonymous
Not applicable
Author

np....something funky going on. i am unable to replicate it on my end. looks good when i try it.

1.png

ThornOfCrowns
Specialist II
Specialist II

Hi,

this also works for me. Try changing the type from Bar Chart to Combo chart to see if that makes a difference.

Anonymous
Not applicable
Author

Press <Ctrl><Shift> at the same time and red bars will appear around the sub objects of your Bar Chart, whilst still pressing them right click one of the red lines and move it to re-size the object you wish to re-size / move.