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.SetBaselines(Integer,Boolean) Method

Saves the Chart View’s current state as a baseline set.

#Declaration

Delphi
procedure SetBaselines(ANumber: Integer; ASelected: Boolean);

#Parameters

Name Type Description
ANumber Integer

A baseline number. If you pass an existing baseline’s number, a procedure call updates data for all baselines with the specified number.

ASelected Boolean

If True, a baseline is created for the selected task. If False, baselines are created for all tasks.

#Remarks

Call this procedure and pass a baseline number as the ANumber parameter to create baselines with this number for task(s) in the Chart View.

You can call the ClearBaselines to delete all baselines with the specified number.

#Manage the Baseline Visibility

#Omit from History

Assign any of the following values to the the BaselineNumber property:

  • A baseline number. The View displays all baselines that have the specified number.
  • -1. Allows you to hide all baselines.

#Record to History

Pass a baseline number as the ANumber parameter to the following procedures:

See Also