Using java how can i save the chart in a specific location.When we have created a chart using
Code: Select all
filename = ServletUtilities.saveChartAsJPEG(chart, 150, 150,info, null);
PrintWriter pw= new PrintWriter(System.out);
ChartUtilities.writeImageMap(pw,filename, info,true);
pw.flush();
Waiting for your suggestion.
Thanks.