jaosn

Export Chart Button - Ui

Recommended Posts

Using the client side chart Exporting functionality. I'm trying to use just the minimal button to export the Chart to PDF / Image. Everything is working properly except I want the exporter to be just the button but the flash file seems to add padding or margins to the button itself pushing it outside the bounds of the height and width that I give the overall exporter.

 

Any help on eliminating the padding / margin that affects the button?

Share this post


Link to post
Share on other sites

post-10177-023364200 1286284766_thumb.png

 

Thanks for your response, I have gone through the documentation in great detail and still can not find a resolution to my issue. The issue is that I'm using the Compact Mode of the client side Exporter and normally in this mode you have a button and a caption, but what I am wanting is just the button. However I'm trying to put this button in-line with another button on the page, however when the capture is initiated, there is some sort of padding or margin in the Flash exporter that pushes the button outside the limits of the flash movie thereby cutting the button off at the bottom. You can see the example in the attachment (circled in red).

 

Here are the parameters I'm using when initiating my export component:

 

var myExportComponent = new FusionChartsExportObject("fcExporter", "/FusionChartsv3/FCExporter.swf", { fullMode: '0',  defaultExportFilename: 'MyCharts', defaultExportFormat: 'JPG', height:  '20', width: '40', showMessage: '0', btnWidth: '40',btnHeight: '20',  btnFontSize: '8' });

 

Basically I want the button to be 40X20, the same as the movie, but it doesn't adhere to this correctly.

 

Any Suggestions?

 

TIA -

 

Jason

 

 

Hi,

 

Welcome to FusionCharts forum. :)

 

Could you please send us the screen-shot of the error that you are receiving?

 

Also, please refer to the links mentioned below :-

 

Ref.- http://www.fusioncha...omponentUI.html

http://www.fusioncha...verFormats.html

 

I hope this helps. :)

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