Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
johnnyjohn
Creator
Creator

Add reference line on Time dimension

Hi 

I'm trying to add a reference line to my graph attached.

I really can't fully understand what is going on but at the moment it only works on 14:24. 

I think because 14:24 converted to number is a round number so when I create a dimension reference line with 0.6 it works. Any other number in the reference (even they match the number of another timestamp, like 0.59444 etc...) won't work. Maybe there's rounding going on. Not sure. 

How can I add a dimension line at say 14:22:00

 

johnnyjohn_2-1725009279040.png

johnnyjohn_3-1725009303836.png

 

 

 

 

Labels (3)
1 Solution

Accepted Solutions
johnnyjohn
Creator
Creator
Author

Ah that's frustrating - continuous axis doesn't allow rescaling of bars, makes them too thin and not readable for what I'm displaying. Any work around you could think of? 

EDIT: All good I figured it out. I convert my dimension, the timestamp to a Text (i.e Text(datefield)). And then I can use a string in the dimension ref line field (.e.g. '14:19:00')

View solution in original post

2 Replies
Kushal_Chawda

@johnnyjohn  x axis reference line is available only for the continuous x axis. If you want to show the reference line, you need to show continuous x axis

https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Reference_Lines.h....

 

johnnyjohn
Creator
Creator
Author

Ah that's frustrating - continuous axis doesn't allow rescaling of bars, makes them too thin and not readable for what I'm displaying. Any work around you could think of? 

EDIT: All good I figured it out. I convert my dimension, the timestamp to a Text (i.e Text(datefield)). And then I can use a string in the dimension ref line field (.e.g. '14:19:00')