Skip to content
This repository was archived by the owner on Jan 14, 2019. It is now read-only.

Added Milestone Lines to Gantt Chart #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rfiala
Copy link

@rfiala rfiala commented Jan 9, 2013

hey bastian,

i added a parameter for milestones. i used your library for showing a quick roadmap of features, but what i needed was a marker for milestones over the year. So i modified the constructor to accept milestone dates and added a functionwhich draws a line on each milestone date.

My IDE also removed the whitspaces at the the end of a line which was actually just an accident, but i
think it is also useful because of saving bytes :-).

this is my first pull request so be gentle ;-).

Cheers,
Roland

modified the constructor to accept milestone dates and added a function
which draws a line on each milestone date. also removed the whitspaces
at the the end of a line which was actually just an accident, but i
think it is also useful because of saving bytes :-)
@cycloon
Copy link
Contributor

cycloon commented Jan 26, 2013

The commits are a little bit difficult to read because of your whitespace changes.

@arpitjacob
Copy link

couldn't figure out how to use the milestones could you update the sample code and help doc.

@n7st
Copy link

n7st commented Dec 17, 2013

If you didn't figure it out yet here's an example, arpitnj:

$gantti = new Gantti($data, array(
    'title'      => 'Work List',
    'cellwidth'  => 25,
    'cellheight' => 35,
    'milestones' => array('2014-07-23', '2014-07-25')
));

Thanks for this extension!

@antonioj1015 antonioj1015 mentioned this pull request Feb 12, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants