dotnetCHARTING Send comments on this topic.
SmartColor Constructor(Color,ScaleRange)
See Also 
dotnetCHARTING Namespace > SmartColor Class > SmartColor Constructor : SmartColor Constructor(Color,ScaleRange)


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

Visual Basic (Declaration) 
Public Function New( _
   ByVal color As Color, _
   ByVal range As ScaleRange _
)
Visual Basic (Usage)Copy Code
Dim color As Color
Dim range As ScaleRange
 
Dim instance As SmartColor(color, range)
C# 
public SmartColor( 
   Color color,
   ScaleRange range
)

Parameters

color
SmartColor's main color.
range
Y value range criteria for elements.

See Also

© 2010 All Rights Reserved.