.netCHARTING v10.3 Documentation
Example 


Palette Property (Chart)
Gets or sets an array of colors that define element and series colors.
Syntax
'Declaration
 
Public Property Palette As Color()
'Usage
 
Dim instance As Chart
Dim value() As Color
 
instance.Palette = value
 
value = instance.Palette
public Color[] Palette {get; set;}
Example
Color[] MyColorObjectArray = new Color[3]{Color.Red,Color.Blue,Color.Yellow};
Chart.Palette = MyColorObjectArray;
Dim MyColorObjectArray() As Color  = {Color.Red,Color.Blue,Color.Yellow}
Chart.Palette = MyColorObjectArray
Requirements

Target Platforms: Windows 7, 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