Click or drag to resize

ColorRange Constructor

Initializes a new instance of the ColorRange class. create new color range for legends of numerical values.

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public ColorRange(
	double min_val,
	double max_val,
	bool zero_centered,
	List<Color> base_colors
)

Parameters

min_val
Type: SystemDouble
minimum value of number range.
max_val
Type: SystemDouble
maximum value of number range.
zero_centered
Type: SystemBoolean
if true and zero is in the number range than the colors get centered around zero.
base_colors
Type: System.Collections.GenericListColor
List of colors from which additional colors are interpolated.
See Also