Modify ↓
Opened 13 years ago
Last modified 12 years ago
#9667 assigned enhancement
Feature to auto-scroll gantt
Reported by: | dinu | Owned by: | Chris Nelson |
---|---|---|---|
Priority: | normal | Component: | TracJsGanttPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
Is it possible to add a parameter to trigger initial horizontal scroll of the gantt? I don't know what the best approach would be, I'm wanting something like "Show me 2 days in the past by default"... it would be nice if there would be something like initialScroll=-2 (where the number represents the number of days either in the future or in the past where the graphs origin should be set).
Attachments (0)
Change History (2)
comment:1 Changed 12 years ago by
Status: | new → assigned |
---|
comment:2 Changed 12 years ago by
Note: See
TracTickets for help on using
tickets.
I have added a
scrollTo
option in my local code base. It specifies a date that should be visible when the chart is first drawn. It can be set to a date inyyyy-mm-dd
format or "today". With "today" set in site-wide chart options intrac.ini
, I think you can accomplish most of what this ticket requires. I want to test that change locally a bit before I push to TH.