CalculatedValueRuleCollectionAddThresholdRule Method

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
Syntax

C#
public CalculatedValueRule AddThresholdRule(
	RuleComparisonOperator comparisonOperator,
	ConditionValue value,
	Color color,
	FontStyle fontStyle
)

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.
fontStyle
Type: System.DrawingFontStyle
The font style.

Return Value

Type: CalculatedValueRule
The rule that was added.
Version Information

Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference