﻿<?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  / Object doesn't support this property or Method / 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>Thu, 28 Aug 2008 14:48:29 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Object doesn't support this property or Method</title><link>http://www.fusioncharts.com/forum/Topic5032-35-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;In JavaScript the would be&lt;/P&gt;&lt;P&gt;var myChart = new FusionCharts("fusionCharts/AngularGauge.swf", "errorRateChart", "300", "175", "0", "1");&lt;BR&gt;&lt;BR&gt;Please do not use true/false.&lt;/P&gt;&lt;P&gt;The problem might be a conflict between extJS and FusionCharts js API.&lt;/P&gt;&lt;P&gt;May i request you try a hack which might work :&lt;/P&gt;&lt;P&gt;&lt;FONT color=#11dd11&gt;//After this line &lt;BR&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;myChart.render("errorRateChart");&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#11dd11&gt;//Could you please add this once and try again&lt;/FONT&gt;&lt;BR&gt;&lt;FONT face="Courier New"&gt;if(!&amp;#100;ocument.embeds['errorRateChart'] &amp;amp;&amp;amp; !window['errorRateChart'])&lt;BR&gt;         window['errorRateChart']=&amp;#100;ocument.getElementById('errorRateChart');&lt;/FONT&gt;</description><pubDate>Thu, 13 Mar 2008 01:05:33 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>Object doesn't support this property or Method</title><link>http://www.fusioncharts.com/forum/Topic5032-35-1.aspx</link><description>The current technologies used on my server (ASP, JavaScript, ExtJs)&lt;br&gt;FusionCharts (evaluation charts downloaded last week)&lt;br&gt;&lt;br&gt;I am trying to update the charts dynamically from a drop down field.  Once the drop down field has changed it calls a function to update the XML URL.  This code works well (0 errors) in Firefox, but fails in IE.&lt;br&gt;&lt;br&gt;HTML Code&lt;br&gt;[code]&lt;br&gt;div id="errorRateChart" style="width:49%;" /div&lt;br&gt;script type="text/javascript"&lt;br&gt;var browser=navigator.appName;&lt;br&gt;if (browser!='Microsoft Internet Explorer')&lt;br&gt;{&lt;br&gt;var myChart = new FusionCharts("fusionCharts/AngularGauge.swf", "errorRateChart", "300", "175", "0", "1");&lt;br&gt;}else{&lt;br&gt;var myChart = new FusionCharts("fusionCharts/AngularGauge.swf", "errorRateChart", "300", "175", false, true);&lt;br&gt;}&lt;br&gt;myChart.setDataURL("webService/processErrorRateGaugeChart.asp");&lt;br&gt;myChart.render("errorRateChart");&lt;br&gt;/script&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;My Javascript code &lt;br&gt;[code]&lt;br&gt;// Update String							&lt;br&gt;var strUrl;&lt;br&gt;strUrl = escape('webService/processErrorRateGaugeChart.asp?dateId=' + myNewDateId + '&amp;scm=' + newScm);			&lt;br&gt;var chartObj = getChartFromId("errorRateChart"); &lt;br&gt;chartObj.setDataURL(strUrl);&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;While this code works in Firefox quite nicely, it fails wit the following error in IE &lt;br&gt;Error: Object doesn't support this property or method&lt;br&gt;The error is referenced to the following code line:&lt;br&gt;chartObj.setDataURL(strUrl);&lt;br&gt;&lt;br&gt;I have tried changing the following code from this:&lt;br&gt;var myChart = new FusionCharts("fusionCharts/AngularGauge.swf", "errorRateChart", "300", "175", false, true);&lt;br&gt;to:&lt;br&gt;var myChart = new FusionCharts("fusionCharts/AngularGauge.swf", "errorRateChart", "300", "175", "0", "1");&lt;br&gt;&lt;br&gt;but the code doesn't even work the first time the chart is called.&lt;br&gt;&lt;br&gt;I have researched the forums and have found the following topics:&lt;br&gt;[url]http://www.fusioncharts.com/forum/Topic1675-47-2.aspx[/url]&lt;br&gt;[url]http://www.fusioncharts.com/forum/Topic699-6-1.aspx[/url]&lt;br&gt;[url]http://www.fusioncharts.com/forum/Topic2403-33-1.aspx[/url]&lt;br&gt;&lt;br&gt;I know that in IE my code is not getting registered with javascript.  Does anyone have any idea what this might be occurring?&lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 12 Mar 2008 09:22:07 GMT</pubDate><dc:creator>greyknght1</dc:creator></item></channel></rss>