.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Series Class > GetSmartPalette Method : GetSmartPalette(ElementValue,Palette) Method
ElementValue of elements in this series to base the SmartColor value ranges on.
The colors on which the smart palette will be based.
GetSmartPalette(ElementValue,Palette) Method
Generates a SmartPalette object with range colors based on the series data and specified colors. The resulting smartPalette will work on series with the same name as this series.
Syntax
'Declaration
 
Public Overloads Function GetSmartPalette( _
   ByVal ev As ElementValue, _
   ByVal palette As Palette _
) As SmartPalette
'Usage
 
Dim instance As Series
Dim ev As ElementValue
Dim palette As Palette
Dim value As SmartPalette
 
value = instance.GetSmartPalette(ev, palette)
public SmartPalette GetSmartPalette( 
   ElementValue ev,
   Palette palette
)

Parameters

ev
ElementValue of elements in this series to base the SmartColor value ranges on.
palette
The colors on which the smart palette will be based.
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