Write Tooltips text onto jpeg file

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Rex

Write Tooltips text onto jpeg file

Post by Rex » Mon Dec 16, 2002 7:32 am

HI,

I would like to ask whether it is possible to write the tooltips text of a pie/bar chart onto a jpeg file using ChartUtilities.writeChartAsJPEG(...)?

Thanks!

Rex

David Gilbert

Re: Write Tooltips text onto jpeg file

Post by David Gilbert » Mon Dec 16, 2002 6:41 pm

Not directly. If you plan to display the JPEG in an HTML page, then you can make use of the image map generating methods in the ChartUtilities class. Richard Atkinson has added a feature that makes use of OverLIB for displaying tooltips in a browser. There is a link on the main JFreeChart page to Richard's demo...

Regards,

Dave Gilbert

nivedeeta

Re: Write Tooltips text onto jpeg file

Post by nivedeeta » Thu Dec 19, 2002 11:41 am

i my applcation i am writing the image to file and the passing on the path of file through and xml doc.

we parse xml get the image path and then display it.

How do display tool tips in this case ?



Regards
Nivedeeta

Locked