Gets or sets the color for a category.
Namespace: Spotfire.Dxp.Application.VisualsAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- category
- Type: Spotfire.Dxp.Application.Visuals CategoryKey
The category.
Return Value
Type: ColorThe color for the category.
Examples
plot.ColorAxis.Categorical.ColorMap[new CategoryKey("male")] = Color.Blue; plot.ColorAxis.Categorical.ColorMap[new CategoryKey("female")] = Color.Red;
Version Information
See Also