href on charts

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
satyaforesms
Posts: 3
Joined: Thu Jul 26, 2007 8:34 pm

href on charts

Post by satyaforesms » Thu Jul 26, 2007 8:41 pm

Hay guys,

Currently I am working on a web application that requires a chart in which, the user shud be able to click on different parts of the chart and system shud take the user to different pages based on the area the user has clicked on(ex: different bars on a bar chart). I think this is not possible if we convert the chart to an image and display it in the jsp. Can any one help me out in this. If possible Please get me a sample code.. It will be easier for me to understand.

Thanks,
Satya.

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Thu Jul 26, 2007 9:11 pm

search for "imagemap"

lukkumar
Posts: 17
Joined: Thu Jun 07, 2007 8:10 pm

Post by lukkumar » Fri Jul 27, 2007 3:17 pm

I think it is possible. Download this war file and deploy it in your server to see some example for it, perticularly the stacked area example where u can click the data points....
http://homepage.ntlworld.com/richard_c_ ... freechart/

Hope this helps you.

Laks.

satyaforesms
Posts: 3
Joined: Thu Jul 26, 2007 8:34 pm

Post by satyaforesms » Thu Aug 09, 2007 3:45 pm

Thanks a lot Guys. It worked.
But I am again stuck in url generation for the chart.
Can you tell me how to pass more than 2 parameters with the url and how to set the parameter values?

Thanks,
Satya.

Locked