.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > SmartPalette Class > Add Method : Add(String,SmartColor) Method
Name of series this palette will affect. A '*' wildcard can be used to affect all series regardless of their name.
Smart color used.
Add(String,SmartColor) Method
Adds the specified key and smart color item to this palette.
Syntax
'Declaration
 
Public Overloads Sub Add( _
   ByVal key As String, _
   ByVal value As SmartColor _
) 
'Usage
 
Dim instance As SmartPalette
Dim key As String
Dim value As SmartColor
 
instance.Add(key, value)
public void Add( 
   string key,
   SmartColor value
)

Parameters

key
Name of series this palette will affect. A '*' wildcard can be used to affect all series regardless of their name.
value
Smart color used.
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