Baseline

8 Mar 20181 minute to read

The baseline is used to describe the original plan of the task, and it can be the same as current duration of the task or different. The following code example shows how to enable the baseline in Gantt control:

  • JAVASCRIPT
  • <!doctype html>
    <html lang="en" ng-app="listCtrl">
       <head>
          //...
       </head>
       <body ng-controller="GanttCtrl">
          <!--Add  Gantt control here-->    
          <div id="GanttContainer" ej-gantt
          //...
             e-baselinestartdatemapping= "baselineStartDate"
             e-baselineenddatemapping= "baselineEndDate"
             e-renderbaseline= "true"
             >
          </div>
       </body>
    </html>

    The following screenshot shows the baseline in Gantt control: