DataLabels.ShowCategoryName DataLabels.ShowCategoryName DataLabels.ShowCategoryName Property

Definition

True to display the category name for the data labels on a chart. False to hide. Read/write Boolean.

public:
 property bool ShowCategoryName { bool get(); void set(bool value); };
public bool ShowCategoryName { get; set; }
Public Property ShowCategoryName As Boolean
Property Value

Remarks

The chart must first be active before you can access the data labels programmatically or a run-time error will occur.

Applies to