ChartDirector 7.1 (C++ Edition)

ImageMapHandler.getValue2


Usage

const char *getValue(int i);

Description

Gets the value of an attribute of the current hot spot by using its numeric index.

Each hot spot is associated with an arbitrary number of attributes, in which each attribute consists of a key and a value. This method returns the value of the (i + 1)th attribute. (The first attribute is 0, while the nth attribute is n - 1.)

Arguments

ArgumentDefaultDescription
i(Mandatory)The index of the attribute to retrieve (index of first attribute is 0).

Return Value

A string representing the value of the attribute, or null if there is no such attribute.