Hi,
when i am creating a chart and using
ChartUtilities.writeChartAsJPEG(out, jfreechart, 600, 400);
to display tools tips and url are not displayed.
but when i store the image to file system and write it back its working.
final File file = new File(request.getRealPath("/BarChart.png"));
ChartUtilities.saveChartAsPNG(file, jfreechart, 600, 400, info);
PrintWriter writer = response.getWriter();
writer.println("<HTML>");
writer.println("<HEAD><TITLE>Bar Chart</TITLE><script type=\"text/JavaScript\" src=\"overlib.js\"></script></HEAD>");
writer.println("<BODY>");
ChartUtilities.writeImageMap(writer, "chart", info, true);
writer.println("<IMG SRC=\"BarChart.png\" " + "WIDTH=\"600\" HEIGHT=\"400\" BORDER=\"0\" USEMAP=\"#chart\">");
writer.println("</BODY>");
writer.println("</HTML>");
writer.close();
is there any way of showing tooltips and url without storing it to the filesystem.
help me out ...