Hi,
I am writing a chart to file.
ChartRenderingInfo info = new ChartRenderingInfo(new
StandardEntityCollection());
File file1 = new File(lSbfFName.toString());
OutputStream out =
new BufferedOutputStream(new FileOutputStream(file2));
PrintWriter writer = new PrintWriter(out);
ChartUtilities.writeImageMap(writer, "chart", info,true);
ChartUtilities.saveChartAsJPEG(file1, lObjRunLengthChart, 600, 400, info);
what i want is :
i am passing path of file through the xml , parsing xml to get path and then displaying the image file in browser using :
<IMG SRC="D:\Tomcat4.0.4\webapps\netapsv1\charts\TRY_Honda_RunLengthConstChart.jpeg" WIDTH="600" HEIGHT="400" BORDER="0" USEMAP="#chart">
i am unable to get tooltips.
What is wrong with my code?
Thanks,
Nivedeeta