Hi,
I am trying to create image map in HTML for Vertical Bar CHART image. is there any way to get coordinates of catgeory bars?
Thanks
Image URL
Re: Image URL
depending on what you want to do, the Atkins demo linked on the main page is a great example of how to generate tool tips that use a generated image map. I've never tried this specifically, but that combined with the get functions in the Series classes should get you there. I'd first try and use the tooltips map, and then look at how to add additional coordinates you might want.
Hope this helps, I've been using this for less than one week and might be totally off base.
G
Hope this helps, I've been using this for less than one week and might be totally off base.
G
Re: Image URL
Hi Mahesh,
Grant has pointed you in the right direction. Richard Atkins has done some excellent work on the image map and tooltip code in JFreeChart. You should take a look at his demo, and the writeImageMap(...) methods in the ChartUtilities class, and the ImageMapDemo1, 2 and 3 files in the src/com/jrefinery/chart/demo directory of the distribution.
Regards,
Dave Gilbert
Grant has pointed you in the right direction. Richard Atkins has done some excellent work on the image map and tooltip code in JFreeChart. You should take a look at his demo, and the writeImageMap(...) methods in the ChartUtilities class, and the ImageMapDemo1, 2 and 3 files in the src/com/jrefinery/chart/demo directory of the distribution.
Regards,
Dave Gilbert