Edit

Share via


_Document.ChartDataPointTrack Property

Definition

Returns or sets a Boolean (bool in C#) that specifies whether charts in the active document use cell-reference data-point tracking. Read-write.

public:
 property bool ChartDataPointTrack { bool get(); void set(bool value); };
public bool ChartDataPointTrack { get; set; }
member this.ChartDataPointTrack : bool with get, set
Public Property ChartDataPointTrack As Boolean

Property Value

Remarks

In cell-reference data-point tracking, data labels track the cell reference that contains the value of the data point, rather than the index number of the data point. Doing so helps to preserve custom formatting applied by the user, even when a chart is sorted or filtered. Setting ChartDataPointTrack to True specifies that charts in the active document use cell-reference data-point tracking.

Applies to