Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
README
RT-Extension-JSGantt version 0.21

CAVEAT: please use version 0.18 if you are running RT 3.

How to install:

1. perl Makefile.PL
2. make
3. make install ( you may need root permission )
4. config items in etc/RT_SiteConfig.pm
    # add RT::Extension::JSGantt to @Plugins: e.g.
        Set(@Plugins,'RT::Extension::JSGantt');
    # customize JSGantt as you wish:

    Set(
        %JSGanttOptions,
        DefaultFormat => 'day', # or week or month or quarter
        ShowOwner     => 1,
        ShowProgress  => 1,
        ShowDuration  => 1,

        # define your own color scheme:
        # ColorScheme => ['ff0000', 'ffff00', 'ff00ff', '00ff00', '00ffff', '0000ff'],

        # we color owners consistently by default, you can disable it via:
        # ColorSchemeByOwner => 0,

        # you can specify colors to use, unspecified owners will be
        # assigned to some color automatically:
        # ColorSchemeByOwner => { root => 'ff0000', foo => '00ff00' },

        # if can't find both start and end dates, use this color
        NullDatesColor => 333,

        # to caculate day length
        WorkingHoursPerDay => 8,

        # used to set start/end if one exists but the other does not
        DefaultDays => 7,
    );

6. restart RT

How to update jsgantt.js and jsgantt.css:

To make it work better with RT, we changed original jsgantt.js and jsgantt.css,
which can be found in jsgantt.diff.

If you want to update jsgantt.js and jsgantt.css to a new version, please 
review the diff to see what have been changed and maybe do the same change too.

Something went wrong with that request. Please try again.