Graphs that scale with window size

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply

Fri Dec 23, 2011 8:42 am

Hello, all! My boss has tasked me with finding out if there is a graphing module (ex: phpgraphlib, which does NOT do what I need) that allows graphs to change size with the size of the window. So if a user shrinks or expands the window, the graph shrinks and expands with it accordingly.

So far my searches on the internetz have yielded no results. I might be able to create a solution myself, but I figured I'd ask around to see if anyone else knew of anything first.

Thanks so much for your help!


Fri Dec 23, 2011 8:47 am

Oh, and we are open to solutions using languages other than PHP (javascript, css, etc).

User avatar
php-forum GURU
php-forum GURU
Posts: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Fri Dec 23, 2011 9:59 am

This would need to be javascript, considering that HTML and PHP do not know how big your screen is.


Fri Dec 23, 2011 10:16 am

Well that is certainly helpful. Thanks!

Post Reply