tommytob Report post Posted July 29, 2009 I have a chart made in the php class of fusioncharts. now is the export not working, I do a javascript call for the export. now the wreird thing is, it's working in IE6, IE7 and FF. only not in IE8. this are the setting of javascript var chartObject = getChartFromId('managementReportFigure1'); var name = $('managementReportFigure1Div').readAttribute('chartname'); if( chartObject.hasRendered() ) chartObject.exportChart({exportfilename:name,exportAction:'save',exportFormat: 'JPG' }); this are my settings of the chart $caption1 = _t("Number of loss, measure, risk"); $from = _t("from"); $to = _t("to"); $strParam = "caption={$caption1};subcaption=({$from} {$fromDate} {$to} {$endDate});lineThickness=1;showValues=0;formatNumberScale=0;anchorRadius=2;divLineAlpha=20;divLineColor=D8BFD8;divLineIsDashed=1;showAlternateHGridColor=1;alternateHGridAlpha=5;alternateHGridColor=FFC0CB;shadowAlpha=40;labelStep=1;numvdivlines=5;chartRightMargin=35;bgColor=FFC0CB,CC3300;bgAngle=270;bgAlpha=10,10;exportAtClient=0;exportEnabled=1;exportHandler={$handler};exportAction=download;"; # Create Multiseries Column3D chart object using FusionCharts $Figure1 = new FusionCharts("MSLine","600","300", "managementReportFigure1"); # Set the relative path of the swf file $Figure1->setSWFPath("./Charts/"); # Set chart attributes $Figure1->setInitParam('registerWithJS','1'); //$Figure1->setInitParam('debugMode','1'); # Set data $Figure1->setChartParams($strParam); who can help me. please Share this post Link to post Share on other sites
peris Report post Posted August 14, 2009 Please installed flash player 10. And try. Share this post Link to post Share on other sites
Guest Rajroop Report post Posted August 14, 2009 Hello, Thank you so much for your inputs. Share this post Link to post Share on other sites
tommytob Report post Posted August 20, 2009 (edited) I have flash-player 10, but this is something in javascript. he can't find the right windows version in js some more information because I have debugged some javascript. the chartobject exportchart method is not supported. And I have found out, that the export options in the fusion chart are not listed with a right click in IE8, in FF i see them. this are my params for it "exportAtClient=0;exportEnabled=1;exportHandler={$handler};exportAction=download" Edited August 20, 2009 by Guest Share this post Link to post Share on other sites
FusionCharts Support Report post Posted August 20, 2009 Hi, Please make sure your chart version is v3.1 or above. Please also attach here the Generated HTML source so that we can debug. Share this post Link to post Share on other sites
tommytob Report post Posted August 21, 2009 (edited) this is my ie8 source code <DIV id=managementReportFigure1Div class="managementReportFigure1 chart" chartName="managementReportFigure1_4562_1249466797"> <OBJECT id=managementReportFigure1 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=600 height=300><PARAM NAME="_cx" VALUE="15875"><PARAM NAME="_cy" VALUE="7937"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="./Charts/MSLine.swf"><PARAM NAME="Src" VALUE="./Charts/MSLine.swf"><PARAM NAME="WMode" VALUE="Transparent"><PARAM NAME="Play" VALUE="0"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE="LT"><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE="always"><PARAM NAME="Scale" VALUE="NoScale"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false"></OBJECT></DIV> and this is my ff3.5 source code <div id="managementReportFigure1Div" class="managementReportFigure1 chart" chartname="managementReportFigure1_3295_1249472032"> <embed id="managementReportFigure1" width="600" height="300" flashvars="debugMode=0&chartWidth=600&chartHeight=300&DOMId=managementReportFigure1®isterWithJS=1&scaleMode=noScale〈=EN&dataXML=<chart caption='Aantal schades, maatregelen, risico%26apos;s' subcaption='(van 05-07-2009 tot 05-08-2009)' lineThickness='1' showValues='0' formatNumberScale='0' anchorRadius='2' divLineAlpha='20' divLineColor='D8BFD8' divLineIsDashed='1' showAlternateHGridColor='1' alternateHGridAlpha='5' alternateHGridColor='FFC0CB' shadowAlpha='40' labelStep='1' numvdivlines='5' chartRightMargin='35' bgColor='FFC0CB,CC3300' bgAngle='270' bgAlpha='10,10' exportAtClient='0' exportEnabled='1' exportHandler='/~tnt/naris3-conversion/f.c.exporter' exportAction='download' ><categories ><category label='05-07-2009' /><category label='08-07-2009' /><category label='11-07-2009' /><category label='14-07-2009' /><category label='17-07-2009' /><category label='20-07-2009' /><category label='23-07-2009' /><category label='26-07-2009' /><category label='29-07-2009' /><category label='05-08-2009' /></categories><dataset seriesName='Schade' color='#BB2121' anchorBorderColor='1D8BD1' anchorBgColor='1D8BD1' ><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /><set value='0' /></dataset><dataset seriesName='maatregel' color='#9ACD32' anchorBorderColor='1D8BD1' anchorBgColor='1D8BD1' ><set value='1' /><set value='1' /><set value='2' /><set value='3' /><set value='3' /><set value='3' /><set value='4' /><set value='4' /><set value='4' /><set value='4' /></dataset><dataset seriesName='risico' color='#C26F11' anchorBorderColor='1D8BD1' anchorBgColor='1D8BD1' ><set value='20' /><set value='20' /><set value='23' /><set value='26' /><set value='26' /><set value='26' /><set value='27' /><set value='27' /><set value='27' /><set value='28' /></dataset><styles><definition><style name='CaptionFont' type='font' size='12' /></definition><application><apply toObject='CAPTION' styles='CaptionFont' /></application></styles></chart>" wmode="transparent" allowscriptaccess="always" quality="high" name="managementReportFigure1" src="./Charts/MSLine.swf" type="application/x-shockwave-flash"/> </div> Edited August 21, 2009 by Guest Share this post Link to post Share on other sites
FusionCharts Support Report post Posted August 21, 2009 Hi, Could you please make sure that there is no setting in IE8 that is oreventing the download. Please also check if the dat is being posted to the perper export handler from IE. Share this post Link to post Share on other sites
tommytob Report post Posted August 25, 2009 Oke I know a little bit of the problem, I am using Prototype 1.6.1_rc2 is this version, I can't export the chart. when I use the prototype version 1.6.1_rc3, the export of the chart is working. only some other things are not working in this version, and everything is slower. so the rc3 is even nog a options for us. does anyone have a solution for this. greetz thomas Share this post Link to post Share on other sites
tommytob Report post Posted August 28, 2009 (edited) Oke, I have some more information, his IE 8 problem is only on intranet. On the internet there is not a problem. but in internet is IE6 en 7 the problem so a table what is working and what not. the internet is a SSL site browser | internet| intranet ------------------------------------- IE6 | works not | works IE7 | works not | works IE8 | works | works not FF | works | works but if I set the website in the trusted sites in IE7 the chart can export his content. this is a workaround. but I must have a solution for it. I am working on it but if anybody knows anything, can he post it please many thanks, thomas Edited August 28, 2009 by Guest Share this post Link to post Share on other sites