Sign in to follow this  
Guest Madhumita

Creating your first chart

Recommended Posts

I am working through the creating your first chart and cannot get the chart to display in the HTML.

I have checked the troubleshooting portion of the documentation and can verify that the following are in place: 

You've copied FusionCharts.js in Charts folder. You've included the proper path to this JS file in your HTML code

I have kept everything the same in the code for the XML and the HTML CODE so there should not be any path issue.

I have also ensured that I have the latest flash player and shockwave flash player installed. 

When I open up the HTML the code is exactly as created in the HTML file:

<code>

<html>   <head>      <title>My first chart using FusionWidgets</title>      
<script language="JavaScript" src="Charts/FusionCharts.js"></script>   
</head>   <body bgcolor="#ffffff">      
<div id="chartdiv" align="center">         
The chart will appear within this DIV. This text will be replaced by the chart.      
</div><script type="text/javascript">         
var myChart = new FusionCharts("Charts/AngularGauge.swf", "myChartId", "400", "200", "0", "0");
  myChart.setDataURL("Data.xml");         
myChart.render("chartdiv");      
</script>   
</body></html>
<code>

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Welcome to FusionCharts Forum. :)

Your code seems to be perfect.

Could you please also attach the XML and send us a screen-shot of the directory structure?

Awaiting your reply. :D

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