Version

VaryColors Property

Returns or sets a boolean value indicating whether the fill colors for series and data points are automatically selected by Excel.
Syntax
public bool VaryColors {get; set;}
Remarks

This property defaults to true, causing fill colors for series and data points to be automatically selected by Excel.

The automatically selected color can always be overridden for individual series and/or data points using the Infragistics.Documents.Excel.Charts.Series.Fill, Infragistics.Documents.Excel.Charts.Series.Line, and Infragistics.Documents.Excel.Charts.DataPoint.Fill properties.

In cases where VaryColors is set to true, but a fill is explicitly assigned, the assigned fill is used for the associated series or data point, while series or data points which have no explicitly assigned fill will have a fill color automatically selected.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also