DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:structgantt

structgantt Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" unknown
  • 2015-08-10 "Detritus" unknown
  • 2014-09-29 "Hrun" unknown

plugin Create Gantt charts from struct data

Last updated on
2017-04-19
Provides
Syntax
Repository
Source
Requires
struct

Tagged with charts, gantt

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

Installation

A CosmoCode Plugin

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

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Changes

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 on 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 weir or broken behavior with them
plugin/structgantt.txt · Last modified: 2017-04-19 23:51 by andi