ColoringGetColorForCategory Method TIBCO Spotfire 7.6 API Reference
Gets the categorical color for the given category. The color is taken from the current CategoricalColorRule, or if no such rule is available the DefaultColor of this Coloring is returned.

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

C#
public Color GetColorForCategory(
	CategoryKey category
)

Parameters

category
Type: Spotfire.Dxp.Application.VisualsCategoryKey
The category to get a color for.

Return Value

Type: Color
A Color for the given category.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference