Creating ToolTips / Barvalues for Bar Graph png's if Bars=30

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
techlead_arun
Posts: 10
Joined: Fri Feb 25, 2005 5:55 pm
Contact:

Creating ToolTips / Barvalues for Bar Graph png's if Bars=30

Post by techlead_arun » Fri Mar 18, 2005 10:21 am

Hi all,

An important update may be. Can some one tell me about creating image maps for bar graphs.

Actually my problem is this :

I write the entire chart as a png image to the outputstream. Now if my chart area is say 300 and 400 in height and width. And say i plot around 21 bar values on the graph, I dont see the CategoryItemLabel displaying the Values of bar graph on the bars.

Earlier it used to show tool Tips, when i was just linking it with an Img (after saving it tempoarily as png, now i am not saving it temporarily, i am directly writing it to output browser using chartutilities.writeaspng()).

David Suggested me to use image Maps. But Creating image maps to Bar's with their values ??? :roll:

all i need to do now is to get a tooltip on mouse over of a bar with its value. I dont want to change chartutilities.writeaspng(). Or is there any way by which i can print the bar values on the chart even though the number of bars or tooooooo many (say around 30 not more than chart of width 600 and height 400)

Thanks a lot :P

Locked