﻿<?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 / FusionCharts and JSP  / setDataURL method does not refresh data / 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:12:19 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: setDataURL method does not refresh data</title><link>http://www.fusioncharts.com/forum/Topic2403-33-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;As per the debug mode contents, your chart is not getting registered with JavaScript. Else, it would show a message in the debugger.</description><pubDate>Wed, 19 Sep 2007 04:24:52 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: setDataURL method does not refresh data</title><link>http://www.fusioncharts.com/forum/Topic2403-33-1.aspx</link><description>&lt;FONT size=2&gt;&lt;P&gt;Hi Pallav,&lt;/P&gt;&lt;P&gt;I have managed to fix this in IE6 and IE7 by upgrading the flash plugin (minor update 9.02 to 9.04).&lt;/P&gt;&lt;P&gt;How ever the same solution does not work for FireFox.&lt;/P&gt;&lt;P&gt;For your information I attached the DEBUG output in FireFox.&lt;/P&gt;&lt;P&gt;I am guessing this is a plugin issue.&lt;/P&gt;&lt;P&gt;Thanks very much,&lt;/P&gt;&lt;P&gt;-nathaniel&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;DEBUG STACK:&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Info: Chart loaded and initialized.&lt;/P&gt;&lt;P&gt;Initial Width: 1000&lt;/P&gt;&lt;P&gt;Initial Height: 900&lt;/P&gt;&lt;P&gt;Scale Mode: noScale&lt;/P&gt;&lt;P&gt;Debug Mode: Yes&lt;/P&gt;&lt;P&gt;Application Message Language: EN&lt;/P&gt;&lt;P&gt;Version: 3.0.3&lt;/P&gt;&lt;P&gt;Chart Type: Single Series 3D Column Chart&lt;/P&gt;&lt;P&gt;Chart Objects: &lt;/P&gt;&lt;P&gt;BACKGROUND&lt;/P&gt;&lt;P&gt;CANVAS&lt;/P&gt;&lt;P&gt;CAPTION&lt;/P&gt;&lt;P&gt;SUBCAPTION&lt;/P&gt;&lt;P&gt;YAXISNAME&lt;/P&gt;&lt;P&gt;XAXISNAME&lt;/P&gt;&lt;P&gt;DIVLINES&lt;/P&gt;&lt;P&gt;YAXISVALUES&lt;/P&gt;&lt;P&gt;DATALABELS&lt;/P&gt;&lt;P&gt;DATAVALUES&lt;/P&gt;&lt;P&gt;TRENDLINES&lt;/P&gt;&lt;P&gt;TRENDVALUES&lt;/P&gt;&lt;P&gt;DATAPLOT&lt;/P&gt;&lt;P&gt;TOOLTIP&lt;/P&gt;&lt;P&gt;VLINES&lt;/P&gt;&lt;P&gt;INFO: XML Data provided using dataURL method.&lt;/P&gt;&lt;P&gt;dataURL provided: Data1.xml&lt;/P&gt;&lt;P&gt;dataURL invoked: Data1.xml&lt;/P&gt;&lt;P&gt;XML Data: &amp;lt;chart caption="Monthly Sales Summary" subcaption="For the year 2006" xAxisName="Month" yAxisName="Sales" numberPrefix="$"&amp;gt;&amp;lt;set label="January" value="18400" /&amp;gt;&amp;lt;set label="February" value="23800" /&amp;gt;&amp;lt;set label="March" value="25800" /&amp;gt;&amp;lt;set label="April" value="23800" /&amp;gt;&amp;lt;set label="May" value="29600" /&amp;gt;&amp;lt;set label="June" value="34600" /&amp;gt;&amp;lt;set label="July" value="36800" /&amp;gt;&amp;lt;set label="August" value="29700" /&amp;gt;&amp;lt;set label="September" value="17800" /&amp;gt;&amp;lt;set label="October" value="23900" /&amp;gt;&amp;lt;set label="November" value="22900" /&amp;gt;&amp;lt;set label="December" value="17800" /&amp;gt;&amp;lt;/chart&amp;gt; &lt;BR&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color=#008000 size=2&gt;&lt;/P&gt;&lt;/B&gt;&lt;/FONT&gt;</description><pubDate>Tue, 18 Sep 2007 09:54:09 GMT</pubDate><dc:creator>davnati</dc:creator></item><item><title>RE: setDataURL method does not refresh data</title><link>http://www.fusioncharts.com/forum/Topic2403-33-1.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;for setDataURL in JavaScript please try the sample given in the post :[url]http://www.fusioncharts.com/forum/Topic1675-47-2.aspx#bm2429[/url]</description><pubDate>Mon, 17 Sep 2007 05:06:06 GMT</pubDate><dc:creator>Sudipto Choudhury</dc:creator></item><item><title>RE: setDataURL method does not refresh data</title><link>http://www.fusioncharts.com/forum/Topic2403-33-1.aspx</link><description>If you're getting an error that setDataURL/setDataXML is not a function of the chart object, please make sure of the following:&lt;/P&gt;&lt;P&gt;1. Please make sure that you're using FusionCharts v3 charts, as the JavaScript API was introduced in this version. To check whether you're using v3, just match your SWF name with the names listed at &lt;A href="http://www.fusioncharts.com/Docs/Contents/ChartList.html"&gt;http://www.fusioncharts.com/Docs/Contents/ChartList.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Please ensure that you've set registerWithJS flag to 1. For more information on how to do this, please see &lt;A href="http://www.fusioncharts.com/Docs/Contents/JS_Overview.html"&gt;http://www.fusioncharts.com/Docs/Contents/JS_Overview.html&lt;/A&gt;. Basically, you need to set the last parameter in the following code to 1:&lt;BR&gt;var chart1 = new FusionCharts("FusionCharts/Column3D.swf", "chart1Id", "400", "300", "0", "1"); &lt;/P&gt;&lt;P&gt;3. Please make sure that you're not placing the chart inside a FORM element. When the chart is inside a FORM element, the browser cannot access the chart using DOM.&lt;/P&gt;&lt;P&gt;4. Please make sure that you're not calling the setDataURL/setDataXML method before the chart has loaded and rendered. You need to use FC_Rendered function of chart to track the loading of chart as explained at &lt;A href="http://www.fusioncharts.com/Docs/Contents/JS_Overview.html"&gt;http://www.fusioncharts.com/Docs/Contents/JS_Overview.html&lt;/A&gt;. The page's body onLoad event would NOT work, as the chart starts loading after the body has finished loading.&lt;/P&gt;&lt;P&gt;5. Please make sure that you're NOT running the chart from local file system (C:\ , D:\). Instead, run the chart from behind a server (localhost - IIS, Apache etc.). This is because the Flash Player security settings do not allow Chart to JavaScript interaction, unless otherwise specifically set.</description><pubDate>Sun, 16 Sep 2007 05:34:50 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>setDataURL method does not refresh data</title><link>http://www.fusioncharts.com/forum/Topic2403-33-1.aspx</link><description>Hi,&lt;BR&gt;When we use the setDataURL method  (..\Column3d.swf?dataURL=Newdata.xml) and have acquired some problems where we see that the new data is loaded but the bar graphics are not redrawn after we send the new data. In other words, after we reload the data (using ..\Column3d.swf?dataURL=Newdata.xml) the data labels are refreshed correctly, but the column bars are not redrawn. This did not work for us both in Flex and plain HTML page.&lt;BR&gt; &lt;BR&gt;We also examined the HTML/Javascript example application in the documentation in ...\JavaScript\Basics\ChangeDataURL.html, and are getting the JS exception "Object doesn't support this property or method" line 21.&lt;BR&gt;We tried this on several different machines and browsers.&lt;BR&gt; &lt;BR&gt;Thanks,&lt;BR&gt;Nathaniel&lt;BR&gt; </description><pubDate>Sun, 16 Sep 2007 03:16:45 GMT</pubDate><dc:creator>davnati</dc:creator></item></channel></rss>