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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
KaylaKay
Contributor
Contributor

Vizlib Gantt Chart Jump to Year

Hello all!

I have a gantt chart that spans over a long period of time. Clicking and dragging to get from one year to the other can be tiresome.

For example, I am viewing data from Jan. 2024. If I wanted to view data from Jan. 2014 without filtering out any data in between those times, is there an easier/faster way to jump to that year? Has anyone created a slider, scroll bar, or "jump to year" button that's compatible with vizlib gantt chart?

Thank you in advance!

Labels (3)
1 Solution

Accepted Solutions
KaylaKay
Contributor
Contributor
Author

Hi! So I actually solved my own issue!

Apparently, there is a horizontal scroll bar built into vizlib gantt. In Settings > Range and Zoom, you need to enable Range Boundaries (by default it's disabled). Once you enable it, you need to input the start date and end date first. THEN the "show horizontal scrollbar" checkbox appears.

*Warning* the start/end date field is calculated by number of days since the year 1900 (Weird. I have no idea why). So in my example, I wanted to make a scroll bar range from Jan 2014 - Jan 2024, I would make the start date 41640 and end date 45660. 

Hope this helps someone!

KaylaKay_0-1730214553922.png

View solution in original post

1 Reply
KaylaKay
Contributor
Contributor
Author

Hi! So I actually solved my own issue!

Apparently, there is a horizontal scroll bar built into vizlib gantt. In Settings > Range and Zoom, you need to enable Range Boundaries (by default it's disabled). Once you enable it, you need to input the start date and end date first. THEN the "show horizontal scrollbar" checkbox appears.

*Warning* the start/end date field is calculated by number of days since the year 1900 (Weird. I have no idea why). So in my example, I wanted to make a scroll bar range from Jan 2014 - Jan 2024, I would make the start date 41640 and end date 45660. 

Hope this helps someone!

KaylaKay_0-1730214553922.png