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
'Declaration
 
Public Property VaryColors As Boolean
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: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also