|
Client-side image map |
Posted by David Marcus on Sep-24-2014 00:03 |
|
I'm looking for a replacement for JpGraph for my website.
Does ChartDirector for PHP do client-side image maps?
Here is an example of what I need to do:
http://www.ratingscentral.com/HistoryGraph.php?PlayerID=61708
You can hover over the points in the graph, see text describing the
point, and click the point to go to another webpage. This is done via
HTML using the <map> element.`
Can ChartDirector create a graph like the above? |
Re: Client-side image map |
Posted by Peter Kwan on Sep-25-2014 01:29 |
|
Hi David,
Yes, ChartDirector can generate client side image maps (the <map> and <area> elements).
If you are using "ChartDirector for PHP", the download includes a number of sample code
with image maps for pop up tooltips, clickable hot spots and to trigger Javascript event
handlers. They are described in the "Clickable Charts" section of the ChartDirector
documentation. For example:
http://www.advsofteng.com/doc/cdphp.htm#simpleclickable.htm
Hope this can help.
Regards
Peter Kwan |
|