shreykhandelwal Report post Posted May 3, 2010 Hi, I am trying to use fusion chart for a case where my XML data changes dynamically.. the dats is calculated on certain parameters within my Portlet class and i need to dynamically refresh my chart. I have been trying this since long but have not been able to get the solution This is how my JSP looks like.. here the exchangeName and AdvDecDataParam are attributes in the request. Please help. < HTML>< HEAD>< SCRIPT LANGUAGE="Javascript" SRC="../js/FusionCharts.js"></SCRIPT></ HEAD>< BODY>< CENTER>< label id="exchangeName">${exchangeName}</label>< jsp:include page="../includes/FusionChartsRenderer.jsp" flush="true"> <jsp:param name="chartSWF" value="../charts/Pie3D.swf" /> <jsp:param name="strURL" value="" /> <jsp:param name="strXML" value="${AdvDecDataParam}" /> <jsp:param name="chartId" value="BSEAdvDec" /> <jsp:param name="chartWidth" value="300" /> <jsp:param name="chartHeight" value="150" /> <jsp:param name="debugMode" value="false" /> <jsp:param name="registerWithJS" value="true" /> </ jsp:include> <BR>< BR></ CENTER></ BODY></ HTML> Share this post Link to post Share on other sites
srividya_sharma Report post Posted December 21, 2010 Hi After loading the chart for the first time, if you want to update it, please call setDataURL or setDataXML from javascript. Hope this helps. Share this post Link to post Share on other sites