CategoricalColorRule Item Property ( Object ) TIBCO Spotfire 6.0 API Reference
Gets or sets the color for a category.

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

public Color this[
	params Object[] categories
] { get; set; }

Parameters

categories
Type:  System Object 
The data value(s) for a category.

Return Value

Type: Color
The color for the category.
Examples

The following sample shows how to set the color for the categories "male" and "female":
plot.ColorAxis.Categorical.ColorMap["male"] = Color.Blue;
plot.ColorAxis.Categorical.ColorMap["female"] = Color.Red;
See Also