Expand Minimize

VaryByCategories Property

True if Microsoft Graph assigns a different color or pattern to each data marker. The chart must contain only one series. Read/write Boolean.

This example assigns a different color or pattern to each data marker in chart group one. The example should be run on a 2-D line chart that has data markers on a series.

myChart.ChartGroups(1).VaryByCategories = True
Show:
© 2014 Microsoft