ColorMap Class

Spotfire 14.2 API Reference

Note: This API is now obsolete.

Class used to map data values to colors in plots.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.Application.VisualsColorMap

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

C#
[ObsoleteAttribute("Use Coloring instead")]
public sealed class ColorMap

The ColorMap type exposes the following members.

Properties

  NameDescription
Public propertyCount
Gets the number of categories.
Public propertyCode exampleItemObject
Gets or sets the color for a category.
Public propertyCode exampleItemCategoryKey
Gets or sets the color for a category.
Top
Methods

  NameDescription
Public methodContains
Determines whether the ColorMap contains a color for a specific category.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetCategories
Gets all categories, sorted according to the category.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetColor
Tries to get the color for a given category, returning true upon success.
Top
Remarks

This class is basically a dictionary that maps data values, or categories, to specific colors.
Version Information

Obsolete (compiler warning) in 14.2
Obsolete (compiler warning) in 14.1
Obsolete (compiler warning) in 14.0
Obsolete (compiler warning) in 12.5
Obsolete (compiler warning) in 12.4
Obsolete (compiler warning) in 12.3
Obsolete (compiler warning) in 12.2
Obsolete (compiler warning) in 12.1
Obsolete (compiler warning) in 12.0
Obsolete (compiler warning) in 11.8
Obsolete (compiler warning) in 11.7
Obsolete (compiler warning) in 11.6
Obsolete (compiler warning) in 11.5
Obsolete (compiler warning) in 11.4
See Also

Reference