Skip to main content

TdxGanttControlChartView.BaselineNumber Property

Specifies the number of a baseline set to display in the Chart View.

Declaration

property BaselineNumber: Integer read; write; default -1;

Property Value

Type Description
Integer

A baseline set number.

Remarks

When you create a baseline for a task, resource, or assignment, you should specify the baseline’s number that serves as its identifier. You can assign the same number to multiple baselines to group them.

Pass a baseline’s number as the BaselineNumber property value to display a baseline for each task that has the baseline with this number.

Tip

You can specify -1 as the property value to hide all baselines.

The BaselineNumber property’s default value is -1.

Track Baseline Visibility Changes in History

The BaselineNumber property value change does not affect the control‘s history so a user cannot undo and redo the corresponding changes.

You can call the following procedures instead to record an action to the control’s history:

ShowBaselines
Displays baselines with the specified number.
HideBaselines
Hides baselines with the specified number.
See Also