Sign in to follow this  
Rahul Kumar

Save option not coming in Scatter.swf

Recommended Posts

Hi Sudipto,

First of all ,thanx for the quick reply.

As per your comments I have included the same in the XML file still I'm not getting Save Option when the HTML get loaded.

For clear understanding i am including both html & xml code undersigned.

<!--Start HTML File-->

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

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

<title>FusionCharts v3 PowerCharts</title>

<script language="Javascript" src="./FusionCharts/FusionCharts.js"></script>

</head>

<body>

<table width="98%" border="0" cellspacing="0" cellpadding="3" 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("./FusionCharts/Scatter.swf", "ChartId", "600", "400", "0", "1", "", "noScale", "EN" );

chart.setDataURL("Data/SelectScatter2.xml");

chart.render("chartdiv");

</script> </td>

  </tr>

  <tr>

  <td valign="top" class="text" align="center">Drag and drop on the chart to select data points. Or, right click on  the selected zone to see advanced options. You can have multiple selection rectangles on the chart.</td>

  </tr>

  <tr>

  <td valign="top" class="text" align="center"><a href="Data/SelectScatter2.xml" target="_blank"><img src="../Images/Buttons/btn_view_xml.gif" alt="View XML for the above chart" border="0"  /></a></td>

  </tr>

</table>

</body>

</html>

<!--End HTML File -->

XML File

<chart  palette='1' caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' showValues='0' formatNumberScale='0' showBorder='1' exportEnabled='1' exportHandler='./imagesaving/FusionChartsSave.aspx'>

<categories verticalLineColor="AA6666" verticalLineThickness="1">

 <category name="10" x="0.1" showVerticalLine="1"/>

 <category name="20" x="0.2" showVerticalLine="1"/>

 <category name="30" x="0.30" showVerticalLine="1"/>

 <category name="40" x="0.40" showVerticalLine="1"/>

 <category name="50" x="0.50" showVerticalLine="1"/>

 <category name="60" x="0.60" showVerticalLine="1"/>

 <category name="70" x="0.70" showVerticalLine="1"/>

 <category name="80" x="0.80" showVerticalLine="1"/>

 <category name="90" x="0.90" showVerticalLine="1"/>

 <category name="100" x="1.00" showVerticalLine="0"/>

</categories>

<dataSet id="DS1" seriesName="Dataset 1" Color="ff5904" plotBorderThickness="0" showPlotBorder="1">

 <set id="S1" x="0.17" y="0.05"/>

 <set id="S2" x="0.83" y="0.64"/>

 <set id="S3" x="0.89" y="0.09"/>

 <set id="S4" x="0.17" y="0.91"/>

 <set id="S5" x="0.56" y="0.31"/>

 <set id="S6" x="0.22" y="0.22"/>

 <set id="S7" x="0.91" y="0.69"/>

 <set id="S8" x="0.36" y="0.88"/>

 <set id="S9" x="0.39" y="0.36"/>

 <set id="S10" x="0.03" y="0.03"/>

 <set id="S11" x="0.68" y="0.7"/>

 <set id="S12" x="0.43" y="0.86"/>

 <set id="S13" x="0.74" y="0.78"/>

 <set id="S14" x="0.44" y="0.7"/>

 <set id="S15" x="0.32" y="0.57"/>

 <set id="S16" x="0.55" y="0.11"/>

 <set id="S17" x="0.62" y="0.97"/>

 <set id="S18" x="0.22" y="0.61"/>

 <set id="S19" x="0.33" y="0.99"/>

 <set id="S20" x="0.69" y="0.28"/>

 <set id="S21" x="0.77" y="0.35"/>

 <set id="S22" x="0.65" y="0.43"/>

 <set id="S23" x="0.82" y="0.16"/>

 <set id="S24" x="0" y="0.93"/>

 <set id="S25" x="0.61" y="0.2"/>

 <set id="S26" x="0.3" y="0.41"/>

 <set id="S27" x="0.91" y="0.57"/>

 <set id="S28" x="0.45" y="0.47"/>

 <set id="S29" x="0.54" y="0.46"/>

 <set id="S30" x="0.86" y="0.59"/>

 <set id="S31" x="0.38" y="0.03"/>

 <set id="S32" x="0.08" y="0.85"/>

 <set id="S33" x="0.37" y="0.85"/>

 <set id="S34" x="0.38" y="0.59"/>

 <set id="S35" x="0.81" y="0.49"/>

 <set id="S36" x="0.98" y="0.63"/>

 <set id="S37" x="0.62" y="0.08"/>

 <set id="S38" x="0.86" y="0.12"/>

 <set id="S39" x="0.06" y="0.35"/>

 <set id="S40" x="0.34" y="0.46"/>

 <set id="S41" x="0.95" y="0.66"/>

 <set id="S42" x="0.98" y="0.82"/>

 <set id="S43" x="0.11" y="0.93"/>

 <set id="S44" x="0.86" y="0.93"/>

 <set id="S45" x="0.61" y="0.98"/>

</dataSet>

<dataSet id="DS2" seriesName="Dataset 2" Color="00aaaa" plotBorderThickness="0" showPlotBorder="1">

 <set id="S1" x="0.78" y="0.88"/>

 <set id="S2" x="0.77" y="0.81"/>

 <set id="S3" x="0.23" y="0.81"/>

 <set id="S4" x="0.78" y="0.69"/>

 <set id="S5" x="0.52" y="0.58"/>

 <set id="S6" x="0.65" y="0.44"/>

 <set id="S7" x="0.68" y="0.1"/>

 <set id="S8" x="0.1" y="0.73"/>

 <set id="S9" x="0.76" y="0.3"/>

 <set id="S10" x="0.69" y="0.39"/>

 <set id="S11" x="0.61" y="0.5"/>

 <set id="S12" x="0.64" y="0.96"/>

 <set id="S13" x="0.18" y="0.87"/>

 <set id="S14" x="0.09" y="0.29"/>

 <set id="S15" x="0.53" y="0.25"/>

 <set id="S16" x="0.87" y="0.2"/>

 <set id="S17" x="0.91" y="0.12"/>

 <set id="S18" x="0.12" y="0.87"/>

 <set id="S19" x="0.94" y="0.6"/>

 <set id="S20" x="0.87" y="0.01"/>

 <set id="S21" x="0.07" y="0.29"/>

 <set id="S22" x="0.52" y="0.7"/>

 <set id="S23" x="0.54" y="0.41"/>

 <set id="S24" x="0.42" y="0.65"/>

 <set id="S25" x="0.22" y="0.25"/>

 <set id="S26" x="0.47" y="0.9"/>

 <set id="S27" x="0.78" y="0.09"/>

 <set id="S28" x="0.96" y="0.65"/>

 <set id="S29" x="0.35" y="0.76"/>

 <set id="S30" x="0.48" y="0.27"/>

 <set id="S31" x="0.37" y="0.1"/>

 <set id="S32" x="0.54" y="0.77"/>

 <set id="S33" x="0.61" y="0.45"/>

 <set id="S34" x="0.62" y="0.95"/>

 <set id="S35" x="0.9" y="0.16"/>

 <set id="S36" x="0.35" y="0.58"/>

 <set id="S37" x="0.36" y="0.43"/>

 <set id="S38" x="0.96" y="0.17"/>

 <set id="S39" x="0.44" y="0.87"/>

 <set id="S40" x="0.12" y="0.75"/>

</dataSet>

<styles>

 <definition>

<style name="myCaptionFont" type="font" font="Arial" size="14" color="666666" bold="1" underline="1"/>

 </definition>

 <application>

<apply toObject="Caption" styles="myCaptionFont"/>

 </application>

</styles>

</chart>

waiting for your reply.

regards,

Chinmoy Dutta

Share this post


Link to post
Share on other sites

Hi,

 
Could you please check your scatter.swf chart version once and make sure it is 3.1.0?
 
You can do so by rendering the chart in debug mode.
 
<script type="text/javascript">

var chart = new FusionCharts("./FusionCharts/Scatter.swf", "ChartId", "600", "400", "1", "1", "", "noScale", "EN" );

chart.setDataURL("Data/SelectScatter2.xml");

chart.render("chartdiv");

  </script>

Edited by Guest

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