Sign in to follow this  
razvan.deac

Export Chart Not Working in Google Chrome

Recommended Posts

Hi,

 

I'm trying to export chart as it follows FusionCharts.items['chart-2'].exportChart({exportFormat: 'jpg'}) this method call returns undefined instead of true/false nothing happens after the call is made.

Using FusionCharts version = [3, 3, 1, "sr3", 21100] and Google Chrome browser, Ubuntu Linux, this works fine in Firefox for example.

 

Thanks for your help,

Razvan

Edited by razvan.deac

Share this post


Link to post
Share on other sites

A. This is the test scenario I used and not getting any result:

 

1. create new chart instance - chart

2. chart.loadJSONData({

       chart: {

            ....

       },

       data: {

           ....

       }

});

3. chart.setChartAttribute('exportEnabled', '1');

4. chart.exportChart({exportFormat: 'jpg'}) nothing happes from here on

 

B. This is a working scenario:

1. create new chart instance - chart

2. chart.loadJSONData({

       chart: {

           exportEnabled: '1'

            ....

       },

       data: {

           ....

       }

});

3. chart.exportChart({exportFormat: 'jpg'}export chart process is fired up

 

Not working scenario A was tested in Safari and Chrome(Version 28.0.1500.71 Ubuntu 13.04 (28.0.1500.71-0ubuntu1.13.04.1)) and not working, in Google Chrome 36.0.1985.125 MacOS X 10.9.4 it is working.

 

Thanks,

Razvan

Edited by razvan.deac

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