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

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
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;
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also