Skip to main content

TdxGanttControlChartView.SetBaselines(Integer,Boolean) Method

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

Declaration

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