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. Image for the cookie policy date

Timeline - Baseline(s)


I have two questions re the timeline rows:

  1. Can one dynamically re-base the baseline?
  2. Is there more than 'baseline' element feature available? The client require two baselines: a) Planned b) Forecasted

1 Reply

JA Jesus Arockia Sankaran S Syncfusion Team July 11, 2019 08:11 AM

Hi Joubin, 
Query 1: Can one dynamically re-base the baseline? 
Response: We can dynamically change the start date and end date of baseline by cell editing and dialog editing support. To perform editing action, we need to inject the EditService in the AppModule. 
Query 2: Is there more than 'baseline' element feature available? The client require two baselines: a) Planned b) Forecasted. 
Response: Currently Gantt supports single baseline only. We have considered your requirements with high priority and logged feature report for this. 
Currently we are working on some other major features to move Gantt from preview version to main version, so your feature requirement will be included in any of our upcoming release. 
This feature can be tracked by using below feedback report link. 
In EJ2 Gantt, we have introduced the support to indicate the particular date of task in row, using this support we can  render custom elements and icons on particular date. 
Using indicators support we can differentiate the planned and forecasted date values. 
We have prepared a sample to render indicators in Gantt, please find the code example below. 
     public ngOnInit(): void { 
        this.data =  [ 
                'Indicators': [ 
             'date': '03/05/2018 8:00:00 AM', 
             'iconCls': 'fas fa-cat', 
             'name': 'Planned', 
             'tooltip': 'Follow up' 
                        'date': '03/05/2018 9:00:00 AM', 
                        'iconCls': 'fas fa-dragon', 
                        'name': '<span style="color:red">Forecasted</span>', 
                        'tooltip': 'Review results' 
                    }                ] 
        this.taskSettings = { 
            indicators: 'Indicators' 
Please find the below sample link. 
Jesus Arockia Sankaran S 

Live Chat Icon For mobile
Up arrow icon