Version

GetColor Method (CustomPaletteColorScale)

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

Parameters

value
The numeric value to get a color for.
defaultMinimum
The default value for minimum, if no minimum setting is present on this color scale.
defaultMaximum
The default value for maximum, if no maximum setting is present on this color scale.
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 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