ColorMap Class TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
Syntax

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

The ColorMap type exposes the following members.

Methods

  NameDescription
Public methodContains
Determines whether the ColorMap contains a color for a specific category.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCategories
Gets all categories, sorted according to the category.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodTryGetColor
Tries to get the color for a given category, returning true upon success.
Top
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
Remarks

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

Obsolete (compiler warning) in 7.6
Obsolete (compiler warning) in 7.5
Obsolete (compiler warning) in 7.0
Obsolete (compiler warning) in 6.5
Obsolete (compiler warning) in 6.0
Obsolete (compiler warning) in 5.5
Obsolete (compiler warning) in 5.0
See Also

Reference