Sign in to follow this  
hkaren

Do You Know How To Stop Autopalying ?

Recommended Posts

Hi all.

 

I downloaded FusionChartsFree and want to use it with PHP / AJAX, but every time it works with autoplay. Can I stop it?

 

 

/* index file  */


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FusionCharts Free Documentation</title>
<link rel="stylesheet" href="Contents/Style.css" type="text/css" />
<script language="JavaScript" src="JSClass/FusionCharts.js"></script>
</head>

<body>

<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
 <tr> 
   <td valign="top" class="text" align="center"> <div id="chartdiv" align="center"> 
       FusionCharts. </div>
       <script type="text/javascript">
          var chart = new FusionCharts("Charts/FCF_Column2D.swf", "ChartId", "600", "350");
          chart.setDataURL("Data/Column2D.xml");		
          //chart.setWidth("1000");

          chart.render("chartdiv");
       </script>
   </td>
 </tr>
<tr>
</table>
</body>
</html>

/*  XML File */

<graph caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' decimalPrecision='0' formatNumberScale='0' autoplay='false'> /* it's not working */
   <set name='Jan' value='462' color='AFD8F8' />
   <set name='Feb' value='857' color='F6BD0F' />
   <set name='Mar' value='671' color='8BBA00' />
   <set name='Apr' value='494' color='FF8E46'/>
   <set name='May' value='761' color='008E8E'/>
   <set name='Jun' value='960' color='D64646'/>
   <set name='Jul' value='629' color='8E468E'/>
   <set name='Aug' value='622' color='588526'/>
   <set name='Sep' value='376' color='B3AA00'/>
   <set name='Oct' value='494' color='008ED6'/>
   <set name='Nov' value='761' color='9D080D'/>
   <set name='Dec' value='960' color='A186BE'/>
   <set name='Oct' value='494' color='008ED6'/>
   <set name='Nov' value='761' color='9D080D'/>
   <set name='Dec' value='2500' color='A186BE'/>
</graph>

 

 

 

 

Thanks.

Edited by hkaren

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Welcome to FusionCharts Forum! smile.gif

 

Could you please elaborate your query a bit more?

 

If possible, please send us a screenshot of your requirement.

 

Awaiting for your response.

Share this post


Link to post
Share on other sites

Hi,

 

I'm afraid, FusionCharts for Free doesn't support an attribute "autoplay" in the <chart> element.

 

If you would like to control animation in your charts, try using the "animation" attribute in the <chart> element.

 

If you do not want to animate any part of the chart, set this as 0.

 

I hope this helps.:)

 

 

Hi,

 

Welcome to FusionCharts Forum! :)

 

Could you please elaborate your query a bit more?

 

If possible, please send us a screenshot of your requirement.

 

Awaiting for your response.

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