Solved

Plot Graph?

Posted on 2002-06-16
2
1,020 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

733 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