有人用jfreechart在web应用上做出类似awt或者flash效果的动态滚动报表图没?我用 JFreeChart chart = createChart(getDataset());


HttpSession session = request.getSession();
ChartRenderingInfo info = new ChartRenderingInfo(new StandardEntityCollection());

String filename = ServletUtilities.saveChartAsJPEG(chart, 800, 600, info , session);
String graphURL = request.getContextPath()+"/servlet/DisplayChart?filename=" + filename;
String imap = ChartUtilities.getImageMap("chart", info);

response.setContentType("text/xml");
response.setCharacterEncoding("UTF-8");
PrintWriter out = response.getWriter();

out.println("<?xml version='1.0' encoding='UTF-8' ?>");
out.println("<note>");

out.print(" ");
out.print("<name id=\"filename\">"+filename+"</name>");
out.println("<value id=\"graphURL\">"+graphURL+"</value>");
out.println("<imap id=\"imap\">"+imap+"</imap>");
System.out.println(imap);

out.println("</note>");
out.flush();
out.close();将map信息<?xml version='1.0' encoding='UTF-8' ?>
<!--
<?xml-stylesheet type="text/xsl" href="map.xsl"?>
--><note>
 <name id="filename">jfreechart-5173775949561536854.jpeg</name><value id="graphURL">/HQ_Web/servlet/DisplayChart?filename=jfreechart-5173775949561536854.jpeg</value>
<imap id="imap"><map id="chart" name="chart">
<area shape="poly" coords="617,16,623,16,623,22,617,22,617,16,617,16" title="value: (11-3-30 下午5:22, 2,586,342)" alt="" nohref="nohref"/>
<area shape="poly" coords="484,76,490,76,490,82,484,82,484,76,484,76" title="value: (11-3-30 下午5:21, 2,580,515)" alt="" nohref="nohref"/>
<area shape="poly" coords="351,165,357,165,357,171,351,171,351,165,351,165" title="value: (11-3-30 下午5:20, 2,571,937)" alt="" nohref="nohref"/>
<area shape="poly" coords="218,225,224,225,224,231,218,231,218,225,218,225" title="value: (11-3-30 下午5:19, 2,566,031)" alt="" nohref="nohref"/>
<area shape="poly" coords="85,233,91,233,91,239,85,239,85,233,85,233" title="value: (11-3-30 下午5:18, 2,565,312)" alt="" nohref="nohref"/>
</map></imap>
</note>
保存在了ajax的var xmlDoc = xmlHttp.responseXML.documentElement;中现在通过ajax访问servlet来刷新页面使用document.getElementById('oa_chart').src=xmlDoc.getElementsByTagName("value")[0].childNodes[0].nodeValue;刷新图片的地址来达到图片动态刷新。现在想添加对图片的map属性,之前已经把map存储到了xmlHttp对象中,利用javascript插入<map>..</map>整体到
html页面中<span id="map"></span>这个javascript怎么去写好?如果我要将热点功能添加到动态的图片上,有那位用freechart实现过?