We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to change baseline color for specific tasks in a project

Baselines are used to represent the original start date and end date of a task, scheduled at the beginning of the project. In Gantt, it is possible to render the baseline using renderBaseline property and we can define the baseline color using baselineColor property at load time.

It is also possible to change this color dynamically for some tasks with the help of queryTaskbarInfo client side event.

The following code example shows you how to enable baseline and change its line color dynamically at run time based on condition in Gantt control.

The following screenshot shows the baseline in Gantt control.

Sample link

A sample to render baseline in Gantt chart is available in the following link, Sample

Article ID: Published Date: Last Revised Date: Platform: Control:
7914 08/03/2017 08/04/2017 JavaScript ejGantt
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.