Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating charts

Status
Not open for further replies.

cgillin

Programmer
Mar 20, 2003
58
US
Does anyone know of a way to create graphs in PHP. Ideally the solution would not cost me any money and would only require me to add some classes to my server. I have shared hosting right now and am not in a position to install any programs.

If this isn't too realistic in PHP does anyone have an idea of how to do it with javascript or something else?

Thanks for the help,
Chris
 
Check if the PHP is compiled with the GD library.
Graphs in JavaScript? AFAIK not possible. Java Applets, yes, JavaScript, no.
DO a quick Google for GD and imagemagik. GD should contain GIF creation now again, since the international patent ran out yesterday and GIF is free at last!.
 
JavaScript? Good one!


The ability of your PHP installation to programatically create graphics on the fly depends on whether PHP has its Image family of functions available.

If your HSP has made PHP's image functions available, you can use JPGraph



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top