It's better when it's simple

User Tools

Site Tools


structgantt Plugin

Compatible with DokuWiki

frusterick manners

plugin Create Gantt charts from struct data

Last updated on

Similar to yuriigantt

Tagged with charts, gantt

This plugin creates simple Gantt charts from data stored with the struct plugin.


A CosmoCode Plugin

Be sure to install an up-to-date struct plugin version first.

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


Usage and Syntax

The Syntax is the same as for other Struct Plugin Aggregations, except that the header uses struct gantt as identifier. Here's a very basic example:

---- struct gantt ----
schema: timemachine
cols: %title%, *
skipweekends: 1

As you can see there is a new option skipweekends which will remove Saturdays and Sundays from the shown chart.

The chart automatically switches the headers from days, week numbers and month names depending on the amount of days in the whole chart.

There are a few restrictions you have to keep in mind:

  • your aggregation needs to select at least two Date or DateTime fields
    • the first one is used as start date
    • the second one is used as end date
  • There have to be at least two days in the whole chart
  • Tasks not having a start or end date are not shown
  • your aggregation needs to select at least one non-Date/DateTime field
    • the first one is used as the task header
    • the second one is used as label on the task itself
  • your aggregation may contain a Color field
    • the first one will be used as the background color of the task
  • currently neither Multi nor Lookup Fields are properly supported
    • you may encounter weird or broken behavior with them
plugin/structgantt.txt · Last modified: 2023-08-09 23:50 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki