Back to Devexpress

TdxGanttControlChartView.SetBaselines(Integer,Boolean) Method

vcl-dxganttcontrolviewchart-dot-tdxganttcontrolchartview-dot-setbaselines-x28-system-dot-integer-system-dot-boolean-x29.md

latest2.2 KB
Original Source

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

NameTypeDescription
ANumberInteger

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

TdxGanttControlChartView Class

TdxGanttControlChartView Members

dxGanttControlViewChart Unit