ChartDirector 5.1 (PHP Edition)

WebChartViewer.setImageMap


Usage

setImageMap(imageMap)

Description

Sets the image map associated with the chart.

The image map defines "hot spots" on the chart that may have tool tips, becomes clickable and responses to other mouse events.

The WebChartViewer control expects the image map to be in HTML image map format comprising of <AREA> tags only. No <MAP> tag should be included in the image map as the WebChartViewer control will generate the <MAP> tag automatically to match with the <IMG> tag.

The image map for a chart can be generated automatically by using BaseChart.getHTMLImageMap.

This property can also accept an URL to a delayed image map generated by WebChartViewer.makeDelayedMap.

Arguments

ArgumentDefaultDescription
imageMap(Mandatory)The image map associated with the chart.

Return Value

None