Share via


ChartGroup.VaryByCategories Property

True if Microsoft Excel assigns a different color or pattern to each data marker. The chart must contain only one series.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.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

See Also

Reference

ChartGroup Interface

ChartGroup Members

Microsoft.Office.Interop.Excel Namespace