Placeholder for concrete specifications of gantt diagrams.
| Attribute name | Usage | Attribute values | Default value | Description |
|---|---|---|---|---|
| figure | com.mind8.graph2d.figure.container.Gantt | |||
| xmlns | http://www.mind8.com/Diagram/Gantt | Namespace |
| Allowed sub-elements | Quantity |
|---|---|
| configuration | 0 or 1 |
| properties | 0 or 1 |
| property id="?" | Values for read/write | Description |
|---|---|---|
| rulerHeight | Height of the time line in pixels | |
| rulerAlignment | top, bottom | Alignment of the time line top = time line runs along the upper edge bottom = time line runs along the bottom edge |
| contentInsets | 0,0,0 to 255,255,255 | Color |
| fixedSwimLaneLabels | true, false | true = labels at the left border of the diagram will not disappear using the scrollbars false = labels are moved out of the displayed area using the scrollbars |

Example code for Gantt diagram with fixed labels at the left border:
If the property-id fixedSwimLaneLabels for the gantt diagram is specified with the value true, all labels are fixed at the left border. The scrollbars only affects the section of the time line.
<node id="Gantt" ?>
<figure-ganttContainer ?>
<properties>
<property id="fixedSwimLaneLabels">
<read value="true"/>
</property>
</properties>
</figure-ganttContainer>
</node>
Result:
The result shows the <figureLabel> as a slave of the project component conveyor, since it takes over most of the properties of the same configuration for <figureContainer> unchanged.