Imagemap Support in Java-Client Graphs

In an HTML-client application, you can use a thin graph to display graphical data. The thin graph creates an imagemap. In a Java-client application or applet, you can also create an imagemap from an instance of the Graph bean.

The Graph bean provides the information that you need when you create your own imagemap. The Graph bean does not create an imagemap, but it gives you information about the structure of the graph and about the geometry of each graph component.

The information is provided in two different forms:

In either form of the information, you specify the components about which you want information. These components are the components with which you want your users to be able to interact. Your choices are described in the following table, in which the left column lists the components and the right indicates the constant to use for ImageMap methods. You can use the OR operator ( | ) to combine these constants.

Components

Constant for ImageMap methods

Components that represent data, such as bars, data markers, pie slices, and so on

MAP_DATA

Everything in the legend of the graph

MAP_LEGEND

Tick labels on data axes, such as "$100K"

MAP_LABELS

Tick labels on the ordinal axis, such as "January"

MAP_ORDINALLABELS

Marker text, slice labels, and pie labels on the graph

MAP_DATATEXT

Title, subtitle, and footnote of the graph

MAP_TITLES

All of the items listed previously in this table

MAP_ALL

Saving Imagemap Information in XML
Using API to Get Imagemap Information