SVGGraph 3.15
Published
Version 3.14 added support for Gantt charts, but I didn't include all the features I had been meaning to add because I didn't want to delay the release while I added things that would be less useful. Version 3.15 adds in the things that I didn't get around to last time.
Gantt charts revisited
The example below is mostly the same as the last time, but with the addition of dependency lines. These link tasks, groups or milestones to display when previous tasks (or groups or milestones) must be completed or initiated before the current task can begin or complete.
Setting up dependency lines is a little bit complicated and there are a few options for how they behave, so I've added a new page that covers them and a few of the other Gantt chart options here.
Apart from the dependency lines, I have also added support for displaying
tasks that have durations in hours or minutes. In version 3.14 tasks would only
span a number of full days, but the gantt_units
option can be used
to reduce the blocks of time that tasks take up.
Other things
There isn't much else in this version, but there are two new options for use
with line graphs: grid_clip_overlap_x
and grid_clip_overlap_y
.
These specify how far past the borders of the grid that the lines of the line graph
will go before they are clipped. Until now the lines were clipped at the grid edges,
but the new options have defaults of 2 pixels either side and 10 pixels top and bottom
to allow the lines to overlap slightly.
Where to get it
The new version of SVGGraph is available from the downloads page, or from GitHub / Packagist with Composer.