Hi vr80,
I think you just need to provide a URL to getHTMLImageMap.
In the original code, it is like:
String imageMap = c.getHTMLImageMap("", "",
"title='[{dataSetName}] Alpha = {x|G}, Beta = {value|G}'");
You can modify it to:
String imageMap = c.getHTMLImageMap("ddd.jsp", "",
"title='[{dataSetName}] Alpha = {x|G}, Beta = {value|G}'");
Note that if the mouse is used for zooming, when you click on the chart, it will zoom to the point that you click on. If the mouse is not used for zooming (eg. in "Pointer" mode which is used for dragging), when the mouse clicks on the hot spot, it will jump to the URL you specified.
Hope this can help.
Regards
Peter Kwan |