Solved

Plot Graph?

Posted on 2002-06-16
2
1,001 Views
Last Modified: 2012-05-04
Hi,

I am a beginner in using PHP.

Can I plot a graph at my web page in using PHP after reading data from my database?

Is there a simple example in doing this?

Thanks!
0
Comment
Question by:iecu
2 Comments
 
LVL 5

Expert Comment

by:Hamlet081299
ID: 7082872
Yes.  You would do this using the GD image functions.

If you are feeling confident you can try to draw the graph yourself.  If you know in advance the likely range of values the data will take then this isn't too hard, but if you need it to be very generic then things get a lot tougher.

If you don't feel inclined to write your own graphing routines then I would highly recommend you check out HotScripts ... http://www.hotscripts.com/PHP/Scripts_and_Programs/Graphs_and_Charts/

0
 
LVL 4

Accepted Solution

by:
lokeshv earned 100 total points
ID: 7083612
JPGRAPH

http://www.aditus.nu/jpgraph/


easy to use n really good


Hope this helps


Lk
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Create a Select Query and Populate a Table 3 45
object oriented programming comparison 5 55
unset shopping cart session 15 32
datetime in sql 6 28
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now