Sign in to follow this  
squberam

Javascript Function Not Working In Power Chart

Recommended Posts

Hi,

I am using power chart in my project. using link to navigate different data/page.

I used the following code. But not working in the browser. Let me know how to solve this?

--------------------------------------------------------------------------------------------------------------------

link="j-myfunction-p1,p2" and also i tried with the following one

link="JavaScript:myfunction('p1, p2');

--------------------------------------------------------------------------------------------------------------------

 

Thanks,

Squberam

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Yes, you you would need to run the sample project through a local server.

 

Hope this helps!

Share this post


Link to post
Share on other sites

Sumedh,

Thanks for your reply. I got we need to run from server. But i am using without server, kind of standalone (for demo purpose).

So without server JS will not work ? 

Share this post


Link to post
Share on other sites

Hey,

 

Apologies for the delayed response.

 

Yes, it is possible to execute from a local machine.

 

To enable communication between charts and JavaScript (like updating data, retrieving data, printing, exporting, event handling etc.) in your local machine, you need to Setup Flash Player Global Security settings.

 

Please refer more about "How to setup Flash Player Global Security Settings?" at: http://docs.fusioncharts.com/charts/Tools/FlashPlayerSecuritySetup/HowToSetup.html

 

Hope this helps.

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