.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Series Class > GetSmartPalette Method : GetSmartPalette(Color[]) Method
GetSmartPalette(Color[]) Method
Generates a SmartPalette object that contains the names of the elements in this Series matched with the specified array of Color objects. Each element gets a different color from the specified color array.
Syntax
'Declaration
 
Public Overloads Function GetSmartPalette( _
   ByVal colors() As Color _
) As SmartPalette
'Usage
 
Dim instance As Series
Dim colors() As Color
Dim value As SmartPalette
 
value = instance.GetSmartPalette(colors)
public SmartPalette GetSmartPalette( 
   Color[] colors
)

Parameters

colors
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