﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / JavaScript Problems  / 'FusionCharts' is undefined   -- javascript error in IE / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 02:15:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: 'FusionCharts' is undefined   -- javascript error in IE</title><link>http://www.fusioncharts.com/forum/Topic6102-35-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;It seems that the FusionCharts.js is not getting fully loaded when the process of rendering the chart is executed. FusionCharts is undeinfed error occurs only when the full class file is not loaded or not present. That it is present but not fully loaded is proved by the fact that on refresh the chart loads, as now the JS is loaded from cache quickly.</description><pubDate>Thu, 25 Sep 2008 09:01:21 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: 'FusionCharts' is undefined   -- javascript error in IE</title><link>http://www.fusioncharts.com/forum/Topic6102-35-1.aspx</link><description>Hi&lt;br&gt;&lt;br&gt; i have the same error but i resolve  when i include  the  "FusionCharts.js" verify that the "url" o "src" to the FusionCharts.js &lt;br&gt;is ok...&lt;br&gt;&lt;br&gt;in my case i put  this in my JSP:&lt;br&gt;&lt;br&gt;&lt;script src="http://localhost/FusionCharts/JSClass/FusionCharts.js"&gt;&lt;/script&gt;&lt;br&gt;&lt;br&gt;and i can render the chart..&lt;br&gt;&lt;br&gt;Saludos.&lt;br&gt;&lt;br&gt;Pablo.&lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 18 Jun 2008 20:06:49 GMT</pubDate><dc:creator>pablo.paz</dc:creator></item><item><title>'FusionCharts' is undefined   -- javascript error in IE</title><link>http://www.fusioncharts.com/forum/Topic6102-35-1.aspx</link><description>hello&lt;P&gt;I am using the "new FusionCharts()" method from FusionCharts.js file to create 5 fusion charts ( 4 HLinearGuage and 1 Angular Guage). &lt;/P&gt;&lt;P&gt;I am using the portlet techonology (Liferay Portal) and testing in IE6 and Firefox, version 1.2 of FusionCharts.js&lt;/P&gt;&lt;P&gt;The charts and form submit works fine on FIrefox. &lt;/P&gt;&lt;P&gt;However on IE, I am getting a JS error " 'FusionCharts' is undefined " error. Also the charts don't render at startup, only shows 4 "Chart" text lines. To load them I have to refresh the portlet. On refresh I can see the charts correctly however the JS error still shows at the bottom of IE due to which the form submit does not work.&lt;/P&gt;&lt;P&gt;Below is the code snippet(only including the relevant section), please look into the problem.&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&amp;lt;script type="text/javascript" src="/html/portlet/ext/vote/FusionCharts.js" &amp;gt;&amp;lt;/script&amp;gt; &lt;/P&gt;&lt;FONT size=2&gt;&lt;FONT size=2&gt;&lt;P&gt;&amp;lt;SCRIPT LANGUAGE="JavaScript"&amp;gt; &lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;function FC_Rendered(DOMId){&lt;/P&gt;&lt;P&gt;// logic for rendering the 5 charts as specified in examples&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&amp;lt;/SCRIPT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;P&gt;&amp;lt;form action.......&amp;gt; &amp;lt;/form&amp;gt;&lt;P&gt;&amp;lt;table&amp;gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;td width="0"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div id="chart22div"&amp;gt;Chart&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/P&gt;&lt;P&gt;var myChart2 = new FusionCharts("/flash/HLinearGauge.swf", "ChId2", "280", "55", "0", "1");&lt;/P&gt;&lt;P&gt;myChart2.setDataXML("&amp;lt;chart&amp;gt;&amp;lt;/chart&amp;gt;");&lt;/P&gt;&lt;P&gt;myChart2.render("chart22div");&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;//similarly for other 4 charts&lt;P&gt;&amp;lt;/html&amp;gt;</description><pubDate>Tue, 06 May 2008 02:30:17 GMT</pubDate><dc:creator>newbie@fusion</dc:creator></item></channel></rss>