Sign in to follow this  
coolstar838

Chart Not Display

Recommended Posts

web source code :

<!-- START Script Block for Chart mychart -->

<div id='mychartDiv' align='center'>

Chart.

 

</div>

 

<script type="text/javascript"><!--

//Instantiate the Chart

var chart_mychart = new FusionCharts( { "swfUrl" : "Charts/Column2D.swf", "width" : "600", "height" : "400", "renderAt" : "mychartDiv", "dataFormat" : "xml", "id" : "mychart", "wmode" : "opaque", "dataSource" : "<chart yAxisName='Sales Figure' caption='Top 5 Sales Person' numberPrefix='$' useRoundEdges='1' bgColor='FFFFFF,FFFFFF' showBorder='0'><set label='Alex' value='25000' /><set label='Mark' value='35000' /><set label='David' value='42300' /><set label='Graham' value='35300' /><set label='John' value='31300' /></chart>" } ).render();

// --></script>

<!-- END Script Block for Chart mychart -->

 

html source code:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<meta http-equiv="Content-Language" content="gb2312">

<script language="JavaScript" Src="../Inc/Js/FusionCharts.Js" mce_src="../Inc/Js/FusionCharts.js"></Script>

 

</head>

<body>

<div id="mychart"></div>

</body>

</html>

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

 

Welcome to FusionCharts forum. :)

 

Could you please confirm whether you have included the FusionCharts.js file correctly in your rendering page?

 

Also could you please let us know the version of the chart swf file that you are using?

 

Awaiting your reply.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

 

Thanks for your reply.

 

Could you please send us the screen-shot of the error that you are receiving?

 

Awaiting your reply.

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