A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
Gabriela
Post
by Gabriela » Mon May 10, 2004 3:24 pm
Hy, I'm trying to convert a JFreeChart to an ImageMap for HTML. I'm working with the latest version (.18) but i haven't found an example that show's me how.
I will apreciate someones help,
Thank's in advance.
Gabriela
-
david.gilbert
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
-
Contact:
Post
by david.gilbert » Mon May 10, 2004 3:50 pm
Try the (sneakily named) ImageMapDemo1.java file in the src/org/jfree/chart/demo directory of the JFreeChart distribution.
-
Gabriela
Post
by Gabriela » Mon May 10, 2004 5:14 pm
Honestly I didn't saw it, but there it was.
I'm working on right now. If i have anohter question I'll write again.
You were very kind, thank's
-
Gabriela
Post
by Gabriela » Mon May 10, 2004 7:56 pm
I have another question, can I get (in the JSP bar_chart_detail.jsp) the bar that a user click on? Or to know wich was selected?
I need to show in the JSP details of that bar, only that bar.
Thank's, regards
Gabriela
-
Karthicks
- Posts: 20
- Joined: Wed Mar 26, 2003 1:29 pm
- Location: Chennai , India
Post
by Karthicks » Thu May 13, 2004 10:07 am
You can associate URL generator withthe chart. By this way you can set those information as URL parameter on each bar. Refer URL generator API of JFreechart.