Sign in to follow this  
nikhilambekar

Bar 2D Graph,column 2D Graph Width Issue

Recommended Posts

Hi,

I have generated a column graph of canvas size 1800*900.I export those and use in generating pdf reports of letter size.Generating the same graph for different size,i have found that the coloumn width remains constant at 50px for all sizes.Hence large resolution sized graphs look with thin graphs.Also i do not want to set plotSpacePercent as all my graphs are dynamic and need to be consistent in terms of size.Please assist me so that i can get proportional images

post-43128-0-52100600-1367497263_thumb.jpg

post-43128-0-26257400-1367497269_thumb.jpg

post-43128-0-14918900-1367497272_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi Nikhil,

Welcome to FusionCharts Forum.

Please note that while exporting the chart to PDF, the chart takes a bitmap snap shot of itself and processes it for passing to export handlers for generating image/PDF.

So, the dimension of the rendered chart, will be the chart dimension of the exported PDF.

However, for specific chart dimension in letter size PDF (as per your requirement), you would need to render the chart in that same dimension, before exporting.

To re-size the existing chart dimension, you may use FusionCharts JavaScript function "resizeTo()".

For more information on "FusionCharts JavaScript API - Functions", please follow the link below:
http://docs.fusioncharts.com/charts/contents/?JavaScript/API/Methods.html

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
Sign in to follow this