dotnetCHARTING Send comments on this topic.
Palette Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : Palette Property


Gets or sets an array of colors that define element and series colors.

Syntax

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

Example

C#Copy Code
Color[] MyColorObjectArray = new Color[3]{Color.Red,Color.Blue,Color.Yellow};
Chart.Palette = MyColorObjectArray;
    
Visual BasicCopy Code
Dim MyColorObjectArray() As Color = {Color.Red,Color.Blue,Color.Yellow}
Chart.Palette = MyColorObjectArray

See Also

©2002 - 2008 Webavail Productions Inc. & Corporate Web Solutions Ltd. All Rights Reserved.