How to create Bar Graph with dynamic values in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
shakeeb
Forum Newbie
Posts: 4
Joined: Fri Aug 07, 2009 7:14 am

How to create Bar Graph with dynamic values in PHP

Post by shakeeb »

Hi all,

I need to create a bar graph using php, the values of x-axis and y-axis are dynamic coming from database, Am trying my best to do it but finding it difficult. Has anyone done this or is there php library files for doing this.


Thanks,
Shakeeb
markedagain
Forum Newbie
Posts: 1
Joined: Tue Mar 02, 2010 9:57 am

Re: How to create Bar Graph with dynamic values in PHP

Post by markedagain »

Hi google charts offers a great api for this and have used this many times.

http://code.google.com/intl/ja/apis/cha ... harts.html

Image
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: How to create Bar Graph with dynamic values in PHP

Post by pickle »

jPGraph is a useful PHP graphing library.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply