Hi
I have developed BarChart using JFree Chart, I have displayed that chart in browser as Applet. How can I save that chart as .jpg or.png files.
please let me know this..Thanks in advance.
how to save chart ?
Normally applets cannot write to files on the client's computer due to security reasons, but signing the applet may work.
http://java.sun.com/sfaq/#read
Once you have access to write files, you could use ChartUtilities.saveChartAsJPEG or saveChartAsPNG.
http://java.sun.com/sfaq/#read
Once you have access to write files, you could use ChartUtilities.saveChartAsJPEG or saveChartAsPNG.