Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlChartView.BaselineNumber Property

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

#Declaration

Delphi
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