This sample demonstrates how multiple baselines can be displayed within a single task to highlight variations across different planning stages and improve visibility into project changes.
In this example, the Gantt Chart visualizes a product workflow where each task includes multiple baseline bars using custom baseline fields. This allows users to view different planned schedules such as initial, revised, and final plans together. The baselineTemplate property is used to customize the appearance of each baseline bar. It provides control over styling, colors, and positioning, making it easy to distinguish between baseline representations. More information on the Essential® JS2 Gantt Chart can be found in the baseline documentation section.