FusionCharts Support

MSCombi3D Chart not Exporting as JPG properly

Recommended Posts

I am using v3.1, so far all charts export fine using .exportChart(), however MSCombi3D is just exporting the 'Canvas', not the chart.

I have animation off, so this is not the issue.

Here is a screenshot:

a0b393ac-c8ea-4925-ba8c-01fb.jpg

And the exported Image:

8bc46cd6-9cd6-4421-85db-6584.jpg

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Steve,

We have tested the issue in our lab and is not able to replicate it.

Please refer to the screen-shots that we are sending you as an attachment.

Also, please refer to the XML codes that we are sending you as an attachment.

Hope this helps. :)

exported_image.zip

Share this post


Link to post
Share on other sites

Thanks Basundhara.

I have tested with mine and noticed it DOES work when you manually right-click and export-to-image, however, it DOES NOT work when you use the callback and JS to trigger the export.

All other charts work correclty so far. MSCombi3D is having trouble. Please see attached HTML use case file.

chart_test.zip

Share this post


Link to post
Share on other sites

Hi,

 

 

 

It is only because of a nano fraction of a delay not achieved in some Flash Players versions.

 

 

 

Please use a fractional delay before you export:

 

Your code can be like this:

 

 

 

function FC_Rendered(DOMId){

 

 

 

var chartObj = getChartFromId(DOMId);

 

var intv= window.setInterval(function(){

 

if(chartObj && chartObj.hasRendered && chartObj.hasRendered()==true)

 

{

 

chartObj.exportChart();

 

window.clearInterval(intv);

 

}

 

 

 

}, 0);

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Glad that your issue is resolved.

Keep smiling and keep FusionCharting. :)

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