Sign in to follow this  
Peppoz

Export Result Is Always White

Recommended Posts

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

Hi,

 

Welcome to FusionChart Forum! smile.gif

 

We are not able to replicate the same. Please find attached illustration and exported JPEG for your reference.

 

Hope this helps!

Client_Export.zip

post-24802-0-87738300-1356005695_thumb.jpeg

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