.netCHARTING v10.3 Documentation


dotnetCHARTING Namespace > Series Class : PaletteName Property
PaletteName Property (Series)
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
'Declaration
 
Public Property PaletteName As Palette
'Usage
 
Dim instance As Series
Dim value As Palette
 
instance.PaletteName = value
 
value = instance.PaletteName
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.
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