Jump to content

Dynamically Created Charts/Graphs, How And What?


phprocker

Recommended Posts

Hey all.  I need to have dynamic charts/graphs in a project.  What's the common way these are created these days in pHp?  I've searched a bit around Google and found some pHp extensions but not sure if I should use one of them or accomplish charts/graphs with my own pHp code.

 

What's the right direction to go along these lines?

 

Thanks.

Link to comment
Share on other sites

I may be lazy, but I use Google Charts:

 

http://code.google.com/apis/chart/

 

I think they look great, but aren't for everything.

 

This is a good idea. I'd recommend this as (dynamic charts) are either creating client side code, or using an advanced GD class to generate the image data and place it on an image, which is really pointless.(And requiring a lot of memory consumtion, Let google do that for you!)

Link to comment
Share on other sites

I may be lazy, but I use Google Charts:

 

http://code.google.com/apis/chart/

 

I think they look great, but aren't for everything.

 

This seems like a good way to go before I write my own extensive functions.  Thanks.

 

If you want to practise around, here's a nice tutorial to teach you the essential basics of the PHP GD library (should be included on default PHP installations) and includes the tutorial as a bar char, ironically.

http://www.builderau.com.au/program/php/soa/Using-GD-functions-in-PHP-to-create-a-bar-chart/0,339028448,339200806,00.htm

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.