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: 
florian_guggane
Contributor
Contributor

How to create continuous line chart with weeknames

Hi,

I ran into some difficulties with the following chart:

Linechart Reference Line Week.PNG

This looks almost exactly how I wanted it to look like, except that the x-axis shouldn't be the months but the weeknumbers. I need it to be a continuous axis, because I want to add vertical reference lines to show when a year starts. Is there a way to format the continuous x-axis that the weeknames are shown?

Any help would be appreciated, thank you.

Best regards,

Flo

3 Replies
Anonymous
Not applicable

Have you tried

weekname(YourDayDate) as WeekNo

in your script and then use that as the dimension instead?

florian_guggane
Contributor
Contributor
Author

Hi Wallo,

thank you for your answer. The dimension is already the weekname. As you can see, there are roughly always four datapoints per month, which indicates that. The only issue I have is that the axis itself doesn't show the weeknames anymore, if I need the axis to be continuous.

Anonymous
Not applicable

Go to properties and the Axis tab.  make the static step 1.

(Assuming you're in Qlikview)