@COND_COLOR & @COND_COLOR2 (Conditional Colors)

These macros create a "conditional color" that will be applied to a marker/riser when a specified condition is matched.

SYNTAX:

@COND_COLOR nSeries nGroup nCondition fValue nRed nGreen nBlue
@COND_COLOR2 nSeries nGroup nCondition fValue nRed nGreen nBlue

PARAMETERS:

nSeries; -1...n (where: n = the total number of series in the chart). -1 = apply to all series, 0 = Series 1, 1 = Series 2, etc.

nGroup; -1...n (where: n = the total number of groups in the chart). -1 = apply to all groups, 0 = Group 1, 1 = Group 2, etc.

nCondition; 0...7 selects one of the following conditions:

fValue; value to compare the riser value to in order to determine whether or not to apply the Conditional color

nRed, nGreen, nBlue; 0...255 specifies the RGB value of the Conditional color.

EXAMPLE:

@COND_COLOR 2 2 0 2000000000 255 255 0
@COND_COLOR2 1 1 2 100000000 255 0 255

PERSISTENT:

NO

NOTES:

You can set two conditional colors per chart using @COND_COLOR and @COND_COLOR2. However, you can also use the nSeries and nGroup settings to apply to ALL RISERS (nSeries = -1, nGroup = -1), ALL GROUPS IN A SERIES (nSeries = 0...n, nGroup = -1), ALL SERIES IN A GROUP (nSeries = -1, nGroup = 0...n) or A PARTICULAR RISER (nSeries = 0...n, nGroup = 0...n).

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List