.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > SmartColor Class > SmartColor Constructor : SmartColor Constructor(Color,ScaleRange)
SmartColor's main color.
Y value range criteria for elements.
SmartColor Constructor(Color,ScaleRange)
Initializes a new instance of the SmartColor object with a color and scale range. By default this will check element's YValue to determine whether they inherit this color.
Syntax
'Declaration
 
Public Function New( _
   ByVal color As Color, _
   ByVal range As ScaleRange _
)
'Usage
 
Dim color As Color
Dim range As ScaleRange
 
Dim instance As New SmartColor(color, range)
public SmartColor( 
   Color color,
   ScaleRange range
)

Parameters

color
SmartColor's main color.
range
Y value range criteria for elements.
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