dsamojlenko

Issue Loading Fcdom By Jquery/ajax

Recommended Posts

Hello, I'm having some problems with loading a chart using FusionChartsDOM and jquery. Here's what I've got:

 

In index.html, I include the jquery library, FusionCharts.js, and FusionChartsDOM.js then I fire the following:

 

$(document).ready(function() {	

$("#load-srprojects-graphs").load("charts.html", function() {
	FusionChartsDOM.RenderAllCharts();
});

});

...

<div id="load-srprojects-graphs"></div>

 

The charts.html just has the <fusioncharts> tags with the data embedded. When I include the .js files on the charts.html and execute it on its own, it works fine.

 

When I view the generated source on index.html, the charts.html code is where it should be, but the graphs aren't drawing.

 

Any help would be appreciated.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Can you please paste your sample HTML code here?

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