wiki:GanttChartPlugin

Render Gantt charts in wiki pages

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin implements a wiki processor that generates a Gantt chart using a YAML text block. YAML is a data serialisation markup language, suited for tasks where humans are likely to view or edit data structures. In this case the YAML text block is interpreted as an ordered list of tasks, each with a start date and duration.

Add this to the text of any wiki page:

{{{
#!gantt
0 : {start: '2008-03-20', dur: 5d, title: Punchlist}
1 : {start: '2008-03-28', dur: 2w, title: Alpha Project}
2 : {start: '2008-03-28', end: '2008-05-15', title: Project V, color: green}
3 : {start: '2008-03-28', end: '2008-10-01', title: Testing 2.0, color: blue}
4 : {start: '2008-04-28', end: '2008-05-15', title: Bug Fixes, color: red}
}}}

which will then be rendered as follows:

The Gantt chart is output in one of the following image formats: jpg, png (default), gif.

Bugs/Feature Requests

Existing bugs and feature requests for GanttChartPlugin are here.

If you have any issues, create a new ticket.

defect

16 / 16

enhancement

0 / 1

task

1 / 1

Download

Download the zipped source from here.

Source

You can check out GanttChartPlugin from here using Subversion, or browse the source with Trac.

Installation

Installation prerequisites:

Add the following to your trac.ini file:

[components]
gantt.* = enabled

[gantt]
cache_dir = path/to/cache/dir
font_file = path/to/font/file
date_format = %m/%d/%Y
include_summary = true
show_opened = true
summary_length = 16
use_creation_date = true 

Recent Changes

13557 by rjollos on 2014-01-08 19:18:59
Replaced tabs with spaces. Misc PEP-0008 changes.
13556 by rjollos on 2014-01-08 19:18:50
0.3dev: Renamed option font_path to font_file for clarity. Fixes #11387.
9455 by rjollos on 2010-11-18 23:36:58
Removed image file that is the output of the test script.
(more)

Author/Contributors

Author: malsmith
Maintainer: none (needsadoption)
Contributors: StefanSimroth

Last modified 5 months ago Last modified on Mar 18, 2017, 10:14:31 PM

Attachments (1)

Download all attachments as: .zip