Sign in to follow this  
Arindam

Doughnut chart loading problem ( 3.0 version )

Recommended Posts

Here is the code

 

<html>

<head>

 <title>Untitled</title>

</head>

<body>

<form  >

<table width="100%">

 <tr >

  <td>

<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000"  style="height:220;border-color:#FFFFFF" width="100%" height="220" >

 <param name="allowScriptAccess" value="always" />

 <param name="movie" value="Charts/Doughnut3D.swf?chartWidth=100%&chartHeight=220" />

 <param name="quality" value="high" />

 <param  name="flashvars" value="dataXML=<chart palette='2' showBorder='1'><set label='Account Main'  value='100' color='FF9933' /> </chart>" />

</object>

  </td>

  </tr>

 </table>

 </form>

</body>

</html>

Share this post


Link to post
Share on other sites

Hi,

Could you please try this?

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="220" id="Doughnut3D" >

<param name="movie" value="Charts/Doughnut3D.swf" />

<param name="FlashVars" value="&dataXML=<chart palette='2' showBorder='1'><set label='Account Main'  value='100' color='FF9933' /> </chart>">

<param name="quality" value="high" />

<embed src="Charts/Doughnut3D.swf" flashVars="&dataXML=<chart palette='2' showBorder='1'><set label='Account Main'  value='100' color='FF9933' /> </chart>" quality="high" width="100%" height="220" name="Doughnut3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

  </object>

Note: Please render FusionCharts with fusionCharts JS. it is very easy to render. please visit

http://www.fusioncharts.com/docs/Contents/JSEmbed.html

Javascript code:

<script language="javascript" type="text/javascript" src="JSClass/FusionCharts.js" ></script>

 

  <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("FusionCharts/Doughnut3D.swf", "myChartId", "100%", "200", "0", "0");

  myChart.setDataXML("<chart palette='2' showBorder='1'><set label='Account Main'  value='100' color='FF9933' /> </chart>");

  myChart.render("chartdiv");

  </script>

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