_Document.ChartDataPointTrack 属性

定义

返回或设置一个Boolean 类型的值(以 c # 为单位),用于指定活动文档中的图表是否使用单元格引用数据点跟踪。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

属性值

Boolean

注解

在单元格引用数据点跟踪中,数据标签跟踪包含数据点值的单元格引用,而不是数据点的索引号。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. ChartDataPointTrack设置为True指定活动文档中的图表使用单元格引用数据点跟踪。Setting ChartDataPointTrack to True specifies that charts in the active document use cell-reference data-point tracking.

适用于