Javascript Method - Referencing Charts?
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Javascript Method - Referencing Charts? Expand / Collapse
Author
Message
Posted 4/16/2008 1:44:41 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/19/2008 4:06:49 PM
Posts: 8, Visits: 8
I'm trying to use some code using your javascript method.

var chart1 = new FusionCharts(""

My question is why do you have to use relative addressing with the function call? 

Steps taken:
- created virtual directory under main root web called Fusion charts.  Beneath that folder I placed a folder called SWFile.

Attempted to create web reference.

I've tried creating dynamically:

http://<web root name>/FusionCharts/SWFile/<chart swf file>.swf

That did not work.

I then tried creating an application wide variable for the root web server map path and adding Fusion Charts\SWfile\

i.e.:

c:\<root web directory>\FusionCharts\SWFile\<swfile>.swf

And that did not work.  Are their any hints or workarounds to using  relative address "../../FusionCharts"

Post #5710
Posted 4/22/2008 11:46:52 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
It's because of cross domain security restriction to prevent XSS attacks.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #5835
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 5:10pm


Execution: 0.047.