Sign in to follow this  
trondvh

Problems with setDataURL method in Internet Explorer

Recommended Posts

SetInterval & SetDataURL fails in IE. OK in firefox. Anyone know why?

 

 

 

 

 

 

 

Error

 

 

 

Line: 1

 

Error: Object doesn't support this property or method

 

 

 

 

 

 

 

Code

 

 

 

 <div id="fcol4">



     <script type="text/javascript">

        var chart = new FusionCharts("Charts/StackedColumn3D.swf", "history", "600", "200", "0", "1");

            chart.setDataURL("db/xml_test.php?stopcaching="+new Date().valueOf()+"&debugMode=1");

            chart.render("fcol4");



         var ch;

   function FC_Rendered(DOMId) {

     if (DOMId == 'history') {

       ch = getChartFromId('history');

       setInterval('ch.setDataURL("db/xml_test.php");', 3000);

     }

   }



    </script>

 </div>

 

 

 

 

 

Debug: Internet Explorer

 

 

Info: Chart loaded and initialized.

 

Initial Width: 600

 

Initial Height: 200

 

Scale Mode: noScale

 

Debug Mode: Yes

 

Application Message Language: EN

 

Version: 3.1.1

 

Chart Type: Stacked 3D Column Chart

 

Chart Objects:

 

BACKGROUND

 

CANVAS

 

CAPTION

 

SUBCAPTION

 

YAXISNAME

 

XAXISNAME

 

DIVLINES

 

YAXISVALUES

 

DATALABELS

 

DATAVALUES

 

TRENDLINES

 

TRENDVALUES

 

DATAPLOT

 

TOOLTIP

 

VLINES

 

LEGEND

 

VLINELABELS

 

 

 

INFO: Chart registered with external script. DOM Id of chart is history

 

INFO: XML Data provided using dataURL method.

 

dataURL provided: db/xml_test.php?stopcaching=1262784543280

 

dataURL invoked: db/xml_test.php?stopcaching=1262784543280&FCTime=568

 

XML Data: <?xml version='1.0' encoding='ISO-8859-1'?>

 

 

 

 

 

Firefox

 

 

Info: Chart loaded and initialized.

 

Initial Width: 600

 

Initial Height: 200

 

Scale Mode: noScale

 

Debug Mode: Yes

 

Application Message Language: EN

 

Version: 3.1.1

 

Chart Type: Stacked 3D Column Chart

 

Chart Objects:

 

BACKGROUND

 

CANVAS

 

CAPTION

 

SUBCAPTION

 

YAXISNAME

 

XAXISNAME

 

DIVLINES

 

YAXISVALUES

 

DATALABELS

 

DATAVALUES

 

TRENDLINES

 

TRENDVALUES

 

DATAPLOT

 

TOOLTIP

 

VLINES

 

LEGEND

 

VLINELABELS

 

 

 

INFO: Chart registered with external script. DOM Id of chart is history

 

INFO: XML Data provided using dataURL method.

 

dataURL provided: db/xml_test.php?stopcaching=1262784637918

 

dataURL invoked: db/xml_test.php?stopcaching=1262784637918&FCTime=130

 

XML Data: <?xml version='1.0' encoding='ISO-8859-1'?>

 

INFO: setDataURL method invoked from external script.

 

INFO: XML Data provided using dataURL method.

 

dataURL provided: db/xml_test.php

 

dataURL invoked: db/xml_test.php?FCTime=3441

 

XML Data: <?xml version='1.0' encoding='ISO-8859-1'?>

 

 

 

...

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts Forum. :D

Could you please let us know whether the chart is getting rendered in IE browser for dataXML method?

Awaiting your reply. :hehe:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this