7 | | This plugin implements a wiki processor that generates a Gantt chart using a YAML text block. [http://en.wikipedia.org/wiki/YAML YAML] is a data serialisation markup language, suited for tasks where humans are likely to view or edit data structures. |
| 7 | This plugin implements a wiki processor that generates a Gantt chart using a YAML text block. [wikipedia:YAML 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. |
| 8 | |
| 9 | Add this to the text of any wiki page: |
| 10 | {{{ |
| 11 | {{{ |
| 12 | #!gantt |
| 13 | 0 : {start: '2008-03-20', dur: 5d, title: Punchlist} |
| 14 | 1 : {start: '2008-03-28', dur: 2w, title: Alpha Project} |
| 15 | 2 : {start: '2008-03-28', end: '2008-05-15', title: Project V, color: green} |
| 16 | 3 : {start: '2008-03-28', end: '2008-10-01', title: Testing 2.0, color: blue} |
| 17 | 4 : {start: '2008-04-28', end: '2008-05-15', title: Bug Fixes, color: red} |
| 18 | }}} |
| 19 | }}} |
| 20 | |
| 21 | which will then be rendered as follows: |
| 22 | |
| 23 | [[Image(Example.png)]] |
54 | | == Example |
55 | | |
56 | | Add this to the text of any wiki page: |
57 | | {{{ |
58 | | {{{ |
59 | | #!gantt |
60 | | 0 : {start: '2008-03-20', dur: 5d, title: Punchlist} |
61 | | 1 : {start: '2008-03-28', dur: 2w, title: Alpha Project} |
62 | | 2 : {start: '2008-03-28', end: '2008-05-15', title: Project V, color: green} |
63 | | 3 : {start: '2008-03-28', end: '2008-10-01', title: Testing 2.0, color: blue} |
64 | | 4 : {start: '2008-04-28', end: '2008-05-15', title: Bug Fixes, color: red} |
65 | | }}} |
66 | | }}} |
67 | | |
68 | | which will then be rendered as follows: |
69 | | |
70 | | [[Image(Example.png)]] |
71 | | |