Class

SpotfireColoringRules

SpotfireColoringRules(ruleDescription)

Base class for a coloring rule.

Constructor

new SpotfireColoringRules(ruleDescription)

Parameters:
Name Type Description
ruleDescription ColoringRulesDescription
displayName string

Specifies the name of the rule.

color string | ColorDescription

Specifies the color to be used for the rule, in the hexadecimal format, with color name, or the ARGB object.

a number

Opacity factor, between 0 and 255.

r number

Red intensity, between 0 and 255.

g number

Green intensity, between 0 and 255.

b number

Blue intensity, between 0 and 255.