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.
For a description of the code Click Here.
© Chestysoft, 2024.