ColoringSetColorForCategory Method

TIBCO Spotfire 11.4 API Reference
Sets a color for the given category in this Coloring. This will be set in a CategoricalColorRule in this collection. If no such rule is available when this methods is run, it will be added.

Namespace:  Spotfire.Dxp.Application.Visuals.ConditionalColoring
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
Syntax

C#
public void SetColorForCategory(
	CategoryKey category,
	Color color
)

Parameters

category
Type: Spotfire.Dxp.Application.VisualsCategoryKey
The category to set a color for.
color
Type: System.DrawingColor
The color to set for the category.
Version Information

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

Reference