Sign in to follow this  
sherman770

getDataWithId() not Working in Demo

Recommended Posts

When I try to use getDataWithId() in my project on a DragColumn2D chart, I get an error that the "Object has no method 'getDataWithId'."

 

To simplify, I also get the error when working with the demo project in PowerCharts_XT_Developer/Code/DragColumn

 

All you need to do is execute the method getDataFromChart() in the demo and it throws the error. See attached screenshot.

 

 

 

post-22338-0-06291000-1375747051_thumb.png

Edited by sherman770

Share this post


Link to post
Share on other sites

Hi,

 

It seems that you are trying to run the sample in your local machine because of which the charts are not able to communicate with the JavaScript files. 

 

To enable communication between charts and JavaScript in your local machine, you need to Setup Flash Player Global Security settings. Please follow the link : http://docs.fusioncharts.com/charts/Tools/FlashPlayerSecuritySetup/HowToSetup.html

 

Alternatively, you may also run the sample on server in which case you will not get this error.

 

Hope this solves your problem.  :)

Edited by Haritha

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