Example of Timeline API in Javascript (ES5) Gantt Chart Control

/
/
Timeline API

This sample allows you to customize the Gantt Chart timeline by adjusting the timeline unit size, header text format, and count for both the top and bottom tiers, and provides an option to enable the multitaskbar feature.

More Details...

Timeline Unit Size
Top tier
Count
Unit
Format
Bottom tier
Count
Unit
Format
Enable multitaskbar
Description

This example demonstrates how to effectively customize the timeline settings of a Gantt Chart. You can customize the timeline width by adjusting the timelineunitsize property in timelineSettings. The Gantt Chart supports various timeline units such as minutes, hours, days, weeks, months, and years. You can easily customize these units by changing the unit for both top tier and bottom tier in timelineSettings. The format of the timeline can be customized by modifying the format value for both the top and bottom tiers. You can combine timeline cells in the top and bottom tiers using the count property in timelineSettings. Tooltips are visible by default in the Gantt Chart timeline, You can customize the tooltip visiblity by using the showtooltip property in the timeline settings. enablemultitaskbar allows you to display multiple taskbars within a parent row, ensuring a clear overview even in collapsed states. More information on the Essential® JS2 Gantt Chart can be found in this documentation section.