Hello All.
I want to save chart as image.
so I find example code( http://www.fusioncharts.com/Docs/Contents/JS_saveAsImage.html)
<div id="chart1div">
FusionCharts
</div>
<script language="JavaScript">
var chart1 = new FusionCharts("../Charts/Column3D.swf", "chart1Id", "400", "300", "0", "1");
chart1.setDataXML("<chart imageSave='1' imageSaveURL='FusionChartsSave.aspx'><set label='A' value='10' /><set label='B' value='11' /></chart>");
chart1.render("chart1div");
</script>
<BR>
Javascript is used in this code.
But I don't konw how to convert my code to javascript code(dataURL, setDataXML etc.)
Please, Help Me.....
Below code is used to present a chart in my web sites.
---------------------------------------------------------------------------------------------------------------
<div align="left" id="divChart2" runat=server>
<textarea id=Chart2 style="display:none;" rows="0" cols="0">
<OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="930" HEIGHT="<%=intHeight %>" id="OBJECT1" align="" VIEWASTEXT>
<PARAM name=movie VALUE="../../Common/CChart/Gantt.swf?dataURL=ProjectList_XML.aspx?Value=<%=strValue%>">
<param NAME="FlashVars" VALUE="">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor value=#FFFFFF>
<EMBED src="../../Common/CChart/Gantt.swf?dataURL=ProjectList_XML.aspx?Value=<%=strValue%>" FlashVars="" quality="high" bgcolor="#FFFFFF" WIDTH="930" HEIGHT="<%=intHeight %>" NAME="FC_2_3_Column2D" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</textarea>
<script language="javascript" src="../../Common/CChart/cmmEmbedPlugin.asp?txtid=Chart2"></script>
</div>
---------------------------------------------------------------------------------------------------------------