ChartGroup.VaryByCategories Property
Returns or sets the value stating if Microsoft Word assigns a different color or pattern to each data marker. The chart must contain only one series. Read/write.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property VaryByCategories As Boolean
Get
Set
'Usage
Dim instance As ChartGroup
Dim value As Boolean
value = instance.VaryByCategories
instance.VaryByCategories = value
bool VaryByCategories { get; set; }
Property Value
Type: System.Boolean
A Boolean set to True if Microsoft Word assigns a different color or pattern to each data marker; otherwise False