Sign in to follow this  
Calciteko

Fusionwidget Refresh Not Working

Recommended Posts

I am trying to set data explicitly by using setXMLData but it is not working. First time it works but after that it does not work.

My XML is like this.

<chart  showPercentValues="1" decimals="1" baseFontSize="11" isSliced="1"  borderColor="FFFFFF" bgColor="FFFFFF"><set  label="Unique Click" value="186316"/><set label="Leads"  value="35433"/><set label="Sales" value="5797"/><set  label="Rebills" value="158"/></chart>

This is my javascript

pnl.chart.setXMLData(xml);//This is not
pnl.chart.resizeTo(100,100);//This working

Can anybody please help me.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Could you please confirm the chart type you are using?

 

If you are using FusionWidgets, I am afraid, setXMLData() will not work.

 

Hope this helps.smile.gif

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Could you please confirm the chart type you are using?

 

If you are using FusionWidgets, I am afraid, setXMLData() will not work.

 

Hope this helps.smile.gif

 

Yes I am using FusionWidgets - Funnel Chart. Is there any way I can mimic refresh chart in FusionWidgets.

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

Please try the same by using setDataXML() method.

 

In this method, the XML Data exists in the same HTML page in which FusionWidgets is embedded. When working with this method, you don't need to create the external XML document (like Data.xml). Instead you provide it in the HTML page.

 

More details at: http://www.fusioncha...ts/DataXML.html

 

You can also use feedData() method for real time widgets.

 

Please visit: http://www.fusioncha.../DSC_JSAPI.html

 

Hope this helps.smile.gif

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