Sign in to follow this  
DGShannon

Dynamic Resize - Doctype Problem

Recommended Posts

I have been exploring the use of Dynamic Resize in the latest version (3.2) of Fusion Charts. Getting the charts WIDTH to resize to it's changing container (using 100%) seems to work just fine.

 

A working example is seen at: http://www.fusioncha...dynamic-resize/

 

Note that in the example the HEIGHT is fixed at 400 while the WIDTH is set to 100%.

 

Now, in the same example, note the button in the lower right corner titled "Maximize the chart to fill the whole browser space."

 

Once clicked, all appears to work fine. But, use your browsers "View Source" option to look at the underlying HTML code. Note that there is no DOCTYPE called out. The same holds true of the dynamic resize example distributed in the help files, with the actual software download.

 

My experiments indicate that the only way that the 100% HEIGHT functions is if the underlying HTML does not include a DOCTYPE, which is of course bad coding.

 

Whether I use my own code, or the Fusion Chart examples, the functionality works fine in the absence of a DOCTYPE, but fails to work the moment you add the DOCTYPE back in.

 

Anyone else encounter this, and find a way around it?

 

- Darrell

Edited by DGShannon

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

Thank you very much for your valuable feedback.

 

We have taken a note of your suggestions here and added the same in our wishlist.

 

Hope you have a great day!

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