Sign in to follow this  
ulovemetoo

Firefox Show 'chartobj.setdataxml Is Not A Function'.

Recommended Posts

i just want to show data when i click the charts .but firex chrome are not working.ie is all ok.

 

firefox show: chartObj.setDataXML is not a function.

 

code following:

 

jQuery.ajax({

type: "Get",

url: "xxxxxx?",

data: strURL,

success: function (data) {

var chartObj = getChartFromId('mychart');

chartObj.setDataXML(data);

}

});

 

that's all.

 

thank you.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum! :)

 

Could you please try using the function "FusionCharts()" instead of the "getChartFromId()" function and see if it helps?

 

Please note that "getChartFromId()" is a deprecated function.

 

Hope this helps. :)

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