Peppoz Report post Posted December 19, 2012 Hi, i've a problem with export. the show of chart in web page is ok, but when i try to export the result is an empty file. The situation of my code is this; <script language="JavaScript" type="text/javascript" src="{$smarty.const.CFG_URL}client/tools/fc/v3/FusionCharts.js"></script> <script language="JavaScript" type="text/javascript" src="{$smarty.const.CFG_URL}client/tools/fc/v3/FusionChartsExportComponent.js"></script> <script type="text/javascript">FusionCharts.setCurrentRenderer("javascript");</script> <div id="viewChartDiv" align="center"></div> <script type="text/javascript"> var myChart = new FusionCharts("http://localhost/contactlab/stable/client/tools/fc/v3/Pie2D.swf", "viewChartId", "400", "280", "0", "1"); myChart.setXMLData("<chart logoURL='/contactlab/stable/images/contactlab.gif' logoPosition='TL' logoAlpha='30' exportEnabled='1' exportAtClient='1' exportHandler='viewXp' exportFileName='SummaryView_6107' canvasBorderAlpha='10' canvasBorderThickness='0' showBorder='0' bgColor='#FFFFFF' showNames='1' showSum='1' showValues='1' placeValuesInside='1' palette='3' showShadow='0' use3DLighting='0' defaultAnimation='0' plotFillRatio='100' plotFillAlpha='80' baseFontColor='#4C4A4C' showToolTip='1' toolTipBgColor='#444444' pieYScale='45' pieBorderAlpha='40' pieFillAlpha='70' pieSliceDepth='15' pieRadius='85' exportDialogMessage='Creazione dati grafico' showPercentageInLabel='1' numberSuffix='%' decimalPrecision='0' showPercentageValues='1'><set link='view.php?dvid=6107' name='Email non aperte' value='2' hoverText='Email non aperte, 2' color='#1E6599'></set><set link='view.php?dvid=6107' name='email aperte' value='2' isSliced='1' hoverText='email aperte, 2' color='#84A8C3'></set><styles><definition><style name='dataValuesFont' type='font' size='10' color='4C4A4C'></style><style name='toolTipsFont' type='font' color='FFFFFF'></style><style name='myAnim' type='animation' param='_yScale' start='0' duration='1'></style></definition><application><apply toObject='DataValues' styles='dataValuesFont'></apply><apply toObject='ToolTip' styles='toolTipsFont'></apply><apply toObject='VLINES' styles='myAnim'></apply></application></styles></chart>"); myChart.render("viewChartDiv"); </script> <div id="viewXpDiv" align="center"></div> <script type="text/javascript"> var myExportComponent = new FusionChartsExportObject("viewXp", "/contactlab/stable/client/tools/fc/v3/FCExporter.swf"); myExportComponent.Render("viewXpDiv"); </script> How is possible? Share this post Link to post Share on other sites
Guest Sumedh Report post Posted December 20, 2012 Hi, Welcome to FusionChart Forum! We are not able to replicate the same. Please find attached illustration and exported JPEG for your reference. Hope this helps! Client_Export.zip Share this post Link to post Share on other sites