baseline_text

specifies the text displayed inside the baseline element

taskTaskthe task object associated with the baseline
baselineBaselinethe baseline object
indexnumberthe index of the baseline in the task's baselines array

Available only in PRO Edition

Example

gantt.templates.baseline_text = function(task, baseline, index) {
    return "Baseline #" + (index + 1);
};

Related samples

See also
Change log

added in v9.0

Back to top