FlexGanttFX Developer Manual : 4.8 Layout

Introduction

Each row and each inner line of a row are associated with a layout. The layout influences several aspects during rendering and editing of activities. Additionally several of the system layers used to draw the row background also utilize the layout information. The layout can be set by calling Row.setLayout(Layout) or when using inner lines by returning them via the lines manager of the row.

Layout Types

Three layout types are included in FlexGanttFX.

Layout Description
GanttLayout
Lays out activities horizontally along the timeline. Positions are based on the start and end times of the activities.
AgendaLayout
Lays out activities vertically along a "local time" scale (0 - 24 hours). This makes activities look like calendar entries.
ChartLayout
Lays out activities as chart values. Activities can implement the ChartActivity or the HighLowChartActivity interface.

Padding

 All layout types have a padding property. It is used to create a visual gap at the top and bottom of each row / line.

Attachments:

layout-gantt.png (image/png)
layout-agenda.png (image/png)
layout-capacity.png (image/png)
padding.png (image/png)
padding.png (image/png)
padding.png (image/png)