Chart not displayed using PHP and Ajax Background
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Chart not displayed using PHP and Ajax... Expand / Collapse
Author
Message
Posted 6/12/2008 6:45:00 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/13/2008 1:38:34 AM
Posts: 2, Visits: 3
Hi everybody,

I´ve just downloaded the free version to test it. I would like to use an Ajax background and load my charts page into the main one when a link is clicked or any other event.

The call to the ajax function would be something like this.

onclick="Ajax('./FusionCharts/FusionChartsFree/Code/PHP/BasicExample/BasicDataXML.php','content','','POST');"

with this function i would like to load on my main page's 'content' layer an example chart.

The thing is, the serverpage BasicDataXML.php is displayed within the ´content ´ layer , i mean the header, and the footer links, but not the chart...that´s the object generated in my page.

object classid="clsid:\D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"" id="myNext" height="300" width="600">
param name="allowScriptAccess" value="always">
param name="movie"[color=#ff0000] value="../../FusionCharts/FCF_Column3D.swf">[/color]...bla bla
/object>

ok, i know the swf file is not there.. becaus the script si being procesed in the server, but thisplayed in other page.

I would like to know if is possible to use FusionCharts this way, what means set the swf path any other way.

Thanks in advance.
Post #6814
Posted 6/13/2008 12:30:53 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 11:11:09 PM
Posts: 881, Visits: 1,416
Hi,

I am afraid, the chart has to loaded from the path relative to the path of the container page and not the source.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #6819
Posted 6/13/2008 1:39:06 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/13/2008 1:38:34 AM
Posts: 2, Visits: 3
I see, thanks a lot!
Post #6825
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 11:23pm


Execution: 0.031.