Sign in to follow this  
A_Chance

Pie2D small chart size

Recommended Posts

Hello, I've been using fusioncharts 3.9 and have encountered my data portion of my pie charts are very small when I set the size of the chart to '100%', '100%'.  The chart, including of the background, is the size of the parent div, but the pie chart itself is so small as to be unusable.  Any help would be appreciated.  Thank you.

Share this post


Link to post
Share on other sites

I do not have this problem if I set the size with JQuery, and I do not have the .  Problem is I would like to use the native resizer, and not have to set the pie radius when changing screens or fullscreening.

Share this post


Link to post
Share on other sites
Hi

 

Jquery has resize event handler which on change of screen size automatically adjust the size of webpage accordingly. But natively, FusionCharts uses div container element of HTML page to render the chart the size specified initially is rendered and retained even if screen size is changes.

 

The only workaround using native method is to use FusionCharts API resizeto() method. A JavaScript function can be called to resize the chart according to screen sizes. Please refer to this JSFiddle sample for the same: http://jsfiddle.net/fusioncharts/Ljzfo7sL/

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