ActiveReports 8
Color Scale 2
Show AllShow All
Hide AllHide All

The ColorScale2 data visualization displays a background color in a range of colors to indicate minimum and maximum values, and all shades in between.

Parameters

You can use static values or aggregate functions (e.g. Min or Max) to set the Minimum and Maximum parameters. For more information on these and other aggregate functions, see the Common Functions topic.

Syntax

=ColorScale2(Value, Minimum, Maximum, StartColor, EndColor)

Usage

Use an expression with this syntax in the BackgroundColor property of a Textbox control. This causes the background color to change depending on the value of the field you specified in the Value parameter, in the case of the example, InStock. Any values falling between the Minimum value and the Maximum render with a color between the StartColor and EndColor.

Example

Default Behavior

Dialog

See Also

How To

Support Forum