Provides a color within a range of colors, corresponding to a data value within a range of values.
Parameters
- startColor
- The start of the color range.
- endColor
- The end of the color range.
- DataMax
- The maximum of the data range.
- DataMin
- The minimum of the data range.
- val
- The data value to plot as a color.
Return Value
A color at distances from the startColor and endColor equivalent to the given data value in relation to the specified minimum and maximum.
Target Platforms: Windows 10, Windows 8.1, Windows 8, 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