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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
jyotsnakora
Contributor
Contributor

Qliksense Line Chart X-axis Reference Line

Hi,

I have a Qlik Sense application that's used to measure the pre and post effects of an intervention.

We use line chart to track the effect of this intervention, hence my X-axis is some thing like '2-1yrs pre','1-0yr pre','0-1 yr post' etc. I need a reference line exactly midway between the x-axis points '1-0yr pre','0-1 yr post' to mark the intervention. Is there a way to do this on the X-axis of line chart?

Thanks,

Jyotsna

3 Replies
Anil_Babu_Samineni

Perhaps this with your Reference line

Sum({<Dimension = {'1-0yr pre','0-1 yr post'}>}Measure)/2

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
jyotsnakora
Contributor
Contributor
Author

But this will still mark the reference line on Y-axis and not X-axis

Anil_Babu_Samineni

There is no option to add in X-Axis with native object where as "Vizlib Combo Chart" extension deserve that. 

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful