dotnetCHARTING Send comments on this topic.
PaletteName Property
See Also 
dotnetCHARTING Namespace > Series Class : PaletteName Property


Gets or sets a Palette enumeration which indicates which static palette will be used by the Elements of this series.

Note If used, legend behavior will be different.

Syntax

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

Remarks

When setting this property, each element will get it's own color. Whereas by default, all elements within a series take their color from Series.DefaultElement.Color. When the chart detects that the elements have been individually colored, each element's LegendEntry will replace the single legend entry of the series in the legend box.

See Also

© 2010 All Rights Reserved.