Modify

Opened 12 years ago

Last modified 11 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 11 years ago by Chris Nelson

Status: newassigned

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 in yyyy-mm-dd format or "today". With "today" set in site-wide chart options in trac.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.

comment:2 Changed 11 years ago by Chris Nelson

(In [12964]) Add scrollTo option to Gantt chart. Refs #8532, #9667.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Chris Nelson.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.