Dundas Chart for Windows Forms
Palette Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : Palette Property


Gets or sets the palette of the Chart control.


Color palette to use

Syntax

Visual Basic (Declaration)  
Public Property Palette As ChartColorPalette
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim value As ChartColorPalette
 
instance.Palette = value
 
value = instance.Palette
C#  
public ChartColorPalette Palette {get; set;}

Return Value

A ChartColorPalette integer enumeration which determines the palette to be used.

Remarks

A palette is used to automatically assign colors to data elements if: the data points themselves do not have colors assigned to them, and; the data series that the data points belong to also doesn't have an assigned color.

If no series or data point colors are explicitly specified then the colors used depends on: the chart type; the Chart object's palette or; the palette of the associated Series, if one is specified. For further details see the Appearance of Data topic.

NOTE: If the Palette property for both the Chart and Series objects are set to "None", and no color is assigned to the relevant data series/data points then the data points will not be drawn, and will be displayed as "empty" areas.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.