Sign in to follow this  
asavva

Resize chart with javascript

Recommended Posts

I have a bar chart in a drilldown application.

Sometimes the chart has 10 bars and sometimes has the 200 bars, in that case i want to resize the chart

so it will be readable when i have a lot of records.

I tried with javascript and nothing happens.

Is there any suggestion, pls this is urgent.

Share this post


Link to post
Share on other sites

Hello,

It is not possible to resize the chart dynamically.

When you need to resize the chart, could you consider rendering it again with the new dimensions again in the same <div> ?

Share this post


Link to post
Share on other sites

Thanks i have done it succesfully,

but another problem i face, is the background image when i set the height for the Bar2D chart over 6000px

the backround image doesn't showing and the chart changes colours,

any suggestions pls

Thanking you in advance. 

Share this post


Link to post
Share on other sites

Hello again,

You're most welcome.

Since FusionCharts is a Flash application, it cannot overcome the inherent limitations of Flash player. Since Flash movies essentially require memory to be rendered, there tend to be errors when extremely large values are set for height and width. Therefore, could you please try limiting the height/width to something below 4000pixels and try?

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