Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus gantt to given date #169

Open
nedium opened this issue May 7, 2015 · 3 comments
Open

Focus gantt to given date #169

nedium opened this issue May 7, 2015 · 3 comments
Milestone

Comments

@nedium
Copy link

nedium commented May 7, 2015

Hi,
I am not sure that this is the correct place to ask this but,
Is there a function or parameter to focus gantt to given date?

My data covers the whole year, i display gantt chart in day view, i also want to scroll to date, for ex. 2015-04-01. Is there any way to achive this now, or can it be implemented?

@usmonster
Copy link
Collaborator

There's a private navigateTo function that's used internally to shift the chart view to its beginning/end/today/[pixel offset], but there's currently nothing written that will take a date string and scroll to that position.

@nedium, would you imagine this implemented as (A) an option that would set the initial view of the chart, or more as (B) something where the date could be somehow specified more interactively to allow jumping around the chart at-will? Or something else? (A) sounds like a reasonably small feature, though any interactive variant might be low on the list of priorities and not make it into the next two milestones..

@Ivarrr08
Copy link

Ivarrr08 commented Jun 8, 2016

Hello,

I was wondering if there's been a solid solution for this problem yet?

@usmonster
Copy link
Collaborator

(Sorry for the glacial delay...)

I think I prefer option A, so I'll add this to the next version, implemented as a scrollToDate option.

@usmonster usmonster added this to the v1.2.0 milestone Feb 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants