Krishna n

Multiple charts print alignment issues

Recommended Posts

Hi everyone,

I am displaying multiple charts in webpage (Pie2D charts side by side). While loading the page the charts aligned correctly but while print the page the charts are truncated and not fitting into print page. 

I am using Window.Print() for printing the page. Is any way to adjust the width/height while printing the page and reset after that? Please provide if you have any ideas.

Fusioncharts-XT (v3.12.1).

Gone through this feature, but it will not help us.

FusionCharts.printManager.enabled(true);

Thanks,

Krishna

 

 

 

 

Share this post


Link to post
Share on other sites

Hi Krishna,

 

Please check the below sample rendering two Pie 2D charts side by side, and using window.print() to print both the charts :

http://jsfiddle.net/rzmtpqL9/

Also find the attached file printed with alignment as it is rendered.

 

However, you can also check the FusionCharts API method - resizeTo() that could be used to set the chart with new dimensions. Check the documentation of the same below :

https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods.html#resizeTo

Hope this helps.

 

Thanks,

Akash.

FusionCharts - Gallery Example - Pie 2D Chart - JSFiddle.pdf

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