Sign in to follow this  
burakozdemir

export problem in ie7

Recommended Posts

hi,

 

i really can't understand why the same code works fine with chrome and firefox, but not with ie7.

 

after i formatted my pc and i installed it again setting the iis (win xp) the export component has problems with ie7.

 

i export charts at client-side on localhost. i don't paste here the code i use 'cause everything is fine with FF and chrome but not with ie7. (i decided to give the code and screenshots.)

 

1. right clicking on the chart

2. select the format to save

3. chart is captured properly

4. exportcomponent gets ready to be clicked

 

at this point if i use FF or chrome clicking on the component, file dialog opens and i can save the chart as jpeg etc.

however, when i use ie7, clicking on the component does not open the dialog, and so i cannot save the chart.

 

is there any trick about ie7?

 

(PS: global security settings for adobe flash player doesn't work neither.. http://www.fusioncharts.com/forum/Topic5009-47-1.aspx#bm8077)

script to render chart:

 <div id='divchart1' align='center'>
 Buraya grafik gelecek.
 </div>
 <script type="text/javascript"> 
 var chart_chart1 = new FusionCharts("Charts/Pie2D.swf" + ChartMessages("tr"), "chart1", "800", "600", "0", "1");
 chart_chart1.setDataURL("DTAAnalizDTADataGen%2Easp%3Ftip%3DMarka%26line%3DSOLVAY%26sene%3D2009%26donem%3DYTD%26omit%3Dtrue%26FCCurrTime%3D26%2E04%2E2010+17%5F51%5F16");
 chart_chart1.render("divchart1");
 </script>

script to render export component:

<script type="text/javascript">

//Render the export component in this

//Note: fcExporter1 is the DOM ID of the DIV and should be specified as value of exportHandler

var myExportComponent1 = new FusionChartsExportObject("fcExporter1", "Charts/FCExporter.swf");

//Render the exporter SWF in our DIV fcexpDiv

myExportComponent1.componentAttributes.btnWidth = '200';

myExportComponent1.componentAttributes.btnHeight= '20';

myExportComponent1.componentAttributes.width = '200';

myExportComponent1.componentAttributes.height= '40';

myExportComponent1.componentAttributes.btnsavetitle = 'Grafigi kaydet';

myExportComponent1.componentAttributes.btndisabledtitle = 'Grafik kaydi i

post-8575-128441583545_thumb.jpg

post-8575-128441583552_thumb.jpg

post-8575-128441583557_thumb.jpg

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