Sign in to follow this  
shreykhandelwal

Dynamically update fusion charts

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this