Gantt

PURPOSE

This parser is used to visualize gantt data in MoinMoin.

CALLING SEQUENCE

{ { {
#!Gantt [name=name, renderer=renderer, width=width, height=height,
        usdates=, datesinbars=, rappel=,display-resources=,
        timestep=timestep,detail=[0,1,2,3],datesinbars=,
        view-begin=view-begin,view-end=view-end ]
} } }

KEYWORD PARAMETERS

parts of the descriptions are taken from the man page of pygantt

name=name: optional if set this is the name of the gantt result image
renderer=renderer: default is png, optional if set the type [tiff, jpeg, png,gif or svg] is used to render the gantt chart
width=width: optional if set it is the width of the output image
height=height: optional if set it is the height of the outputt image

usdates=: optional US can't help write dates backwards...
datesinbars=: optional write begin/end dates in task bars.
rappel=: optional recall tasks'title on the left hand side of the diagram
display-resources=: optional Display resources on the Gantt chart
timestep=timestep: optional timeline increment in days for diagram [default=1].
detail=detail: optional detail level [0=no 1=duration/status 2=begin/end 3=all].
datesinbars=: optional write begin/end dates in task bars.
view-begin=view-begin: optional view begin date, as in --view-begin=2000/12/24.
view-end=view-end: optional view end date, as in --view-end=2000/12/24.

EXAMPLE

{ { {#!Gantt view-end=2005/03/14,
<project xmlns:pg="http://www.logilab.org/namespaces/pygantt_docbook" id="monprojet">
  <label>Specification</label>
  <task id="module">
    <label>Module Gantt.py</label>
    <task id="func1">
      <label>Implementation Parser</label>
      <duration>2</duration>
      <constraint type="begin-after-date">2005/03/03</constraint>
    </task>
    <task id="func2">
      <label>Testing</label>
      <duration>3</duration>
      <constraint type="begin-after-date">2005/03/05</constraint>
    </task>
  </task>
  <task id="documentation">
    <label>Documentation</label>
    <task id="doc_func1">
      <label>Documentation Gantt.py</label>
      <duration>1</duration>
      <constraint type="begin-after-end">func1</constraint>
    </task>
    <task id="doc_func2">
      <label>Examples</label>
      <duration>3</duration>
      <constraint type="begin-after-end">func2</constraint>
    </task>
  </task>
</project>
} } }

gantt.png

PROCEDURE

This parser uses the pygantt from http://www.logilab.org/projects/pygantt

Please remove the version number from the file.

RESTRICTIONS

MODIFICATION

Copyright (c) 2003 by Reimar Bauer <R.Bauer@fz-juelich.de>

This routine is published under the GNU Library General Public License

2004-04-15 : Daniel Hottinger code fix to work with moin 1.2.1
2005-03-05: Reimar Bauer changed to parser Vesion: 1.3.3-1
2005-04-12: 1.3.3-2 bug fixed the parser does not work on subpages recogniced by JunHu
          :         bug fixed if highligting by e.g. search was used.

DISCUSSION

MoinMoin: ParserMarket/Gantt (last edited 2010-12-02 22:23:25 by GeorgeMcLean)