Data 1Data 1Data 2Data 2Data 3Data 3Data 1Data 1Data 2Data 2Data 3Data 3

Using csDrawGraph to generate a pie chart with an image map.

This is an example of generating an HTML image map for a pie chart. The values on this chart don't mean anything, it is just a demonstration. The hotspots are the pie sectors, the labels that identify the data areas, and the legend entries.

The example code can be downloaded but you must also have the trial csDrawGraph component installed for it to run.

Here are the files.

Download the trial csDrawGraph component - csdgt.zip (619 KB)

Download the demo scripts - imagemapcf.zip (3 KB)

For a description of the code Click Here.