Graphs that scale with window size

images php coding issues or problems here.

Moderators: macek, egami, gesf

PJ688
New php-forum User
New php-forum User
Posts: 5
Joined: Wed Nov 02, 2011 11:56 am

Graphs that scale with window size

Postby PJ688 » 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!

PJ688
New php-forum User
New php-forum User
Posts: 5
Joined: Wed Nov 02, 2011 11:56 am

Re: Graphs that scale with window size

Postby PJ688 » Fri Dec 23, 2011 8:47 am

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

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

Re: Graphs that scale with window size

Postby egami » 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.

PJ688
New php-forum User
New php-forum User
Posts: 5
Joined: Wed Nov 02, 2011 11:56 am

Re: Graphs that scale with window size

Postby PJ688 » Fri Dec 23, 2011 10:16 am

Well that is certainly helpful. Thanks!


Return to “PHP coding => Images”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

cron