FusionCharts Forum: Charts not showing in Chrome/Safari, do work in IE8 and FF - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Charts not showing in Chrome/Safari, do work in IE8 and FF

#1 User is offline   duckyfuzz 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 23-August 10

Posted 23 August 2010 - 07:17 AM

My charts are generated by server side PHP and supplied data from an XML object. Rendered using the PHP renderchart function.



They display perfectly in firefox 3.6.8 and IE8 but I only get some text saying "Chart" when I view the exact same page with Chrome or Safari. The chrome Developer Tools pane tells me "Uncaught ReferenceError: FusionCharts is not defined" and points to the tag of my index.html as the source of the problem ( I presume this is uninformative).



The PHP script that outputs the chart is essentially..




include("../../FusionCharts/Includes/FusionCharts.php");

include("../../FusionCharts/Includes/FC_Colors.php");

?>

html>

head>



SCRIPT LANGUAGE="Javascript" SRC="../FusionCharts/FusionCharts/FusionCharts.js">

/head>

body>




.................. Form the xml object, $strXML ..................



//Create the chart - Column 3D Chart with data contained in strXML

echo renderChart("../FusionCharts/FusionCharts/FCF_MSColumn2DLineDY.swf", "", $strXML, "MortOut", 700, 400);



?>









Any idea what the issue is?



Thanks.
0

Other Replies To This Topic

#2 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 24 August 2010 - 12:30 AM

Hi,

Welcome to FusionCharts forum. :)

Please try rendering the chart in IE browser --> right-click outside the chart area --> Select the 'View Source' option --> Send us the whole code from that particular page.

Awaiting your reply.

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

#3 User is offline   duckyfuzz 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 23-August 10

Posted 24 August 2010 - 07:06 AM

Hi, the chart is accessed via ajax so I can't really do that. I accessed the chart printing script directly though and I've pasted what I get in the source. As you can see from the XML, it's a combination chart with 2 bars and one line.























Chart.








0

Other Replies To This Topic

#4 User is offline   duckyfuzz 

  • Forum Newbie
  • Group: Members
  • Posts: 3
  • Joined: 23-August 10

Posted 26 August 2010 - 08:02 AM

Anybody got any ideas? I can't figure it out at all.
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked