CalculatedValueRuleCollectionAddThresholdRule Method (RuleComparisonOperator, ConditionValue, Color, FontStyleFlags)

Spotfire 14.3 API Reference
Adds a threshold color rule to the end of the collection.

Namespace:  Spotfire.Dxp.Application.Visuals.Miniatures
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public CalculatedValueRule AddThresholdRule(
	RuleComparisonOperator comparisonOperator,
	ConditionValue value,
	Color color,
	FontStyleFlags fontStyleFlags
)

Parameters

comparisonOperator
Type: Spotfire.Dxp.Application.Visuals.ConditionalColoringRuleComparisonOperator
The comparison operator.
value
Type: Spotfire.Dxp.Application.Visuals.ConditionalColoringConditionValue
The threshold value.
color
Type: System.DrawingColor
The color.
fontStyleFlags
Type: Spotfire.Dxp.Framework.StylesFontStyleFlags
The font style.

Return Value

Type: CalculatedValueRule
The rule that was added.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5
See Also

Reference