caseyo

Getting Export to Default to PDF.

Recommended Posts

Let me start with saying that exporting to any format works great.

 

 

 

The only issue we are having, is we can't get PDF to show up as the first option. No matter what we do JPG always shows first. This doesn't sound huge, but we have some users that would say the system is broken if this doesn't show up how they want it.

 

 

 

Here is what we are using

 


myExportComponent.componentAttributes.defaultExportFormat='PDF';

myExportComponent.componentAttributes.showAllowedTypes='1';

 

 

 

If i change showAllowed to 0, it will save as a JPG everytime. I've tried changing PDF to lower case and mixed case, nether work.

 

 

 

Anyone else have similiar issue, or know how to fix this?

 

 

 

Thanks

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Welcome to FusionCharts forum. :)

Could you please try it using the following attribute in the chart element:-

<chart ... exportFormats='PDF=Export as PDF' ...>

Also, please have a look to the below link:-

Ref:-http://www.fusioncharts.com/docs/Contents/ECServerFormats.html

Hope this helps.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

You are most welcome.

Glad that we could help you.

Happy 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