Version

GetColor Method

Return a color corresponding to the given numeric value.
Syntax
'Declaration
 
Public Function GetColor( _
   ByVal value As Double, _
   ByVal defaultMinimum As Double, _
   ByVal defaultMaximum As Double, _
   ByVal valueColumn As IList(Of Double) _
) As Color
public Color GetColor( 
   double value,
   double defaultMinimum,
   double defaultMaximum,
   IList<double> valueColumn
)

Parameters

value
The numeric value to get a color for.
defaultMinimum
The minimum value of the value column.
defaultMaximum
The maximum value of the value column.
valueColumn
The list of all numeric values in the scale.

Return Value

A color corresponding to the given numeric value.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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