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.


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
public Color[] Palette {get; set;}


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

© 2018 All Rights Reserved.