Overview
Timeline elements are parts of the Gantt chart that are shown on the timeline and represent time intervals as well as information related to them.
On the Project Gantt chart and Resource Gantt chart, different types of elements are displayed, and for each element type slightly different settings are available.
Articles
Articles in this section explain how to configure:
- Project Chart, Resource Chart - all elements of one type
- All Elements - all elements at once
- Individual Elements - individual elements
- Labels - labels of elements
- Markers - markers
Articles in other sections explain how to adjust:
- Timeline: Tooltips - tooltips shown when the timeline is hovered over
To learn more about the available types of elements and data fields used to set them, see:
Classes
Elements are defined as instances of the following classes:
- regular tasks - anychart.core.gantt.elements.TasksElement
- parent tasks - anychart.core.gantt.elements.GroupingTasksElement
- milestones - anychart.core.gantt.elements.MilestonesElement
- previews of milestones - anychart.core.gantt.elements.MilestonesPreviewElement
- baselines - anychart.core.gantt.elements.BaselinesElement
- progress bars - anychart.core.gantt.elements.ProgressElement
- connectors - anychart.core.gantt.elements.ConnectorElement
- periods - anychart.core.gantt.elements.PeriodsElement
- all elements - anychart.core.gantt.elements.TimelineElement
Methods
The following methods, combined with getTimeline(), are used to access elements: