Example of Timeline API in Javascript Gantt Chart Control

/
/
Timeline API

This sample illustrates the different phases from planning to delivery, involved in a software development lifecycle. It demonstrates the different timeline modes available in the Gantt chart. Options are available to change the unit, format, and count of the header texts for both top and bottom timeline headers.

More Details...

Unit width
Top tier
Count
Unit
Format
Bottom tier
Count
Unit
Format
Enable multitaskbar
Description

In this example, you can see how to change the timeline settings in Gantt chart. The top and bottom timeline header texts can be customized by using the timelineSettings.topTier and timelineSettings.bottomTier properties. Using these properties, you can change the format, count, and units of the timeline header texts. Gantt chart has built-in support for many timeline modes such as minutes, hour, day, week, month and year. The default timeline headers can also be replaced with custom header texts by using the formatter method. Tooltip is enabled by default for the timeline headers, to see the tooltip in action, hover a point or tap on a point in touch enabled devices. Injecting Module: Gantt control features are segregated into individual feature-wise modules. To use a selection, inject the Selection module using the Gantt.Inject(Selection) method. To use markers, inject the DayMarkers module using the Gantt.Inject(DayMarkers) method. If the enableMultiTaskbar property is enabled, it displays child taskbars in the parent row when in collapsed state.