Sign in to follow this  
Varatharajan

Export Option Not Working Ie 8

Recommended Posts

Hi have followed the steps to Export the chart as image and I am sure that I did everything correctly.

 

It works fine in IE 7 but not "Export Graph" button is not enabled in IE 8.

 

I have updated the latest update already.

 

Can you please help?

Share this post


Link to post
Share on other sites
Guest Sumedh

Greetings. smile.gif

Please, try to set proper path for 'FCExporter' file(.aspx/.php) in the XML file.

You would need to add/modify following attributes in the XML file:

These attributes fall under chart element:

>> exportHandler= 'desired path of your ExportHandler file'

>> exportAtClient= '0'

>> exportEnabled= '1'

>> exportAction='save' (save/download)

 

And also, please make necessary changes in the 'FCExporter' (aspx.cs/.php) (according to your file location) file as below:

For FCExporter.aspx.cs file

private const string SAVE_PATH = "./";

private const string HTTP_URI = "http://localhost:1549/"; - (directory for saving the exported image.)

 

For FCExporter.php file

define ( "SAVE_PATH", "../Export/ExportedImages/" );

define ( "HTTP_URI", "ExportedImages/" ); (directory for saving the exported image.)

 

Please, refer the following links for more information:

http://docs.fusionch...mage/ECXML.html

http://docs.fusionch...erDownload.html

Please find attached screenshot for your reference with this reply.

Hope this helps. smile.gif

post-24802-0-72125700-1329199377_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

I am doing an export at client. I have checked that all the configuration are correct. However, in IE 8, the Export button is not enabled. It works perfectly in IE 7.

Attached is the chart XML and Export Handler component code for your reference.

 

Please help.Chart_XML.txt

 

 

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi, smile.gif

 

I am afraid, I could not replicate the issue.

 

It is working fine at our end. (IE 8)

 

The screen consists of a chart and a small Waiting button below it. This button is the UI of FusionCharts export component.

 

To start exporting, right click on the chart and select "Save as JPEG". You'll see the chart entering capture phase.

 

Once capture phase is finished, the chart passes this data to export component, which in turn processes it and makes it available for download. In this state, the title of button changes to "Save" and it gets enabled.

 

Please refer the following link, for more information:

http://docs.fusionch...ientSimple.html

 

Please find attached screen-shots and sample code for your reference.

 

Hope this helps. smile.gif

post-24802-0-18714000-1329715573_thumb.jpg

post-24802-0-43989300-1329715584_thumb.jpg

post-24802-0-50764500-1329715595_thumb.jpg

ClientExport.zip

Share this post


Link to post
Share on other sites
Guest Sumedh

Hello,

 

Apologies for the delayed response.

 

This has been already logged as an issue.

 

I will update you on this, as soon as, this will be resolved.

Share this post


Link to post
Share on other sites
whenever we are using jqueryui & dialogue that time only we are facing position issues ,

 

we are using ruby on rails and my json format is

 

var Advanced_Sector = [{"label":"","value":3},{"label":"Basic Materials","value":28},{"label":"Consumer Goods","value":86},{"label":"Consumer Services","value":108},{"label":"Financials","value":23},{"label":"Health Care","value":97},{"label":"Industrials","value":234},{"label":"Oil & Gas","value":18},{"label":"Technology","value":219},{"label":"Telecommunications","value":13},{"label":"Utilities","value":5}]

 

if(chart_type=="2D Doughnut"){

                    FusionCharts.setCurrentRenderer('javascript');

                    var myChart = new FusionCharts( "Doughnut2D.swf","myChartId1", "770", "500", "0", "0");

                    myChart.setJSONData({

                            "chart" : {

                                "logoPosition" : "BR",

                                "rotateValues" : "0",

                                "useRoundEdges" : "1",

                                "formatNumber" : "0",

                                "formatNumberScale" : "0",

                                "valuePadding" : "10",

                                "exportEnabled" : "1",

                                "exportAtClient" : "1",

                                "exportHandler" : "fcExporter1",

                                "caption" : ChartTitle ,

                                "xAxisName" : "XAxis",

                                "yAxisName" : "YAxis",

                                "numberPrefix" : "",

                                "showvalues": "0",

                                "showlabels": "1",

                                "showlegend": "1",

                                "exportFormats": 'PNG|JPG|PDF|SVG',

                                "exportaction": 'download',

                                "exporttargetwindow": '_self',

                                "html5ExportHandler": "http://export.api3.fusioncharts.com/"

                            },

                            "data" : Advanced_Sector

                    });

                     myChart.render("chart_ctn");

                }

                else if(chart_type=="3D Doughnut"){

                    FusionCharts.setCurrentRenderer('javascript');

                    var myChart = new FusionCharts("Doughnut3D.swf","myChartId2", "770", "500", "0", "0");

                    myChart.setJSONData({

                            "chart" : {

                                "logoPosition" : "BR",

                                "rotateValues" : "0",

                                "useRoundEdges" : "1",

                                "formatNumber" : "0",

                                "formatNumberScale" : "0",

                                "valuePadding" : "10",

                                "exportEnabled" : "1",

                               // "paletteColors" : "0372AB,FF0000,FF5904",

                                "exportAtClient" : "1",

                                "exportHandler" : "fcExporter1",

                                "caption" : "ChartTitle",

                                "xAxisName" : "XAxis",

                                "yAxisName" : "YAxis",

                                "numberPrefix" : "",

                                "showvalues": "0",

                                "showlabels": "1",

                                "showlegend": "1",

                                "exportFormats": 'PNG|JPG|PDF|SVG',

                                "exportaction": 'download',

                                "exporttargetwindow": '_self',

                                "html5ExportHandler": "http://export.api3.fusioncharts.com/"

                            },

                                 "data" : Advanced_Sector

                    });

                     myChart.render("chart_ctn");

                }

                

                }

 

Thanks,

kanna

Share this post


Link to post
Share on other sites
Guest Sumedh

Hello Kanna,

 

This issue has been fixed internally and I would update you on this, once it gets released.

Share this post


Link to post
Share on other sites

Hi,

 

This problem has already been logged as a bug and has been fixed internally.

 

We shall update this thread when the fix gets released.

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