ChartDirector Ver 4.1 (PHP Edition Edition)

WebChartViewer.setImageMap


Usage

setImageMap(imageMap)

Description

Sets the image map associated with the chart.

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