Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reference Line

Is it possible to draw a reference line on only one  of the  two bar with in a single bar graph

for more understanding see the below image

i want to draw 2 reference line in below  1st graph but once i draw the it cover both the graph , but user want that the one bottom shud only cover green bar means it range don't cross green bar & top line should start from orange bar graph and  end at end of the orange bar

11 Replies
Gysbert_Wassenaar

The only way to do that is by creating Line objects and position them where you want them. Those Line object naturally will not respond to any selections. So they won't change position if the bars in your chart change.


talk is cheap, supply exceeds demand
ashfaq_haseeb
Champion III
Champion III

sujeetsingh
Master III
Master III

Add reference Line on presentation tab and you have to provide the logic you want the lines to follow..

..there should be the values where these lines need to be drawn

sujeetsingh
Master III
Master III

Gysbert have suggested a good way

dharmarasu
Creator
Creator

hi Shweta,

       To achieve that you want write expression in reference line is as same as in First Bag expression..

Dharma.

Not applicable
Author

it will not work

Not applicable
Author

Is there is any other to draw a reference line which only width of the bar

Not applicable
Author

how we can calculate the width of the single bar in a bar chart

dharmarasu
Creator
Creator

Can u share the App.