473,498 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamic Graphs In PHP

Hello Friends
Friends I need some help regarding graph in PHP.
I know how to draw a graph in PHP. But i dont know whether i can
dynamically retreive data and refresh graph in PHP. If any have any
knowlegde regarding this so please help me. Tell me how i can
dynamically retrive data and refresh graph using PHP.
I will be thankful to you
Please help me.
Its urgent
Regards
Anu

Jul 17 '05 #1
6 2831
Hello,
http://www.aditus.nu/jpgraph/

Bye,
<an**********@gmail.com> a écrit dans le message de news:
11**********************@f14g2000cwb.googlegroups. com...
Hello Friends
Friends I need some help regarding graph in PHP.
I know how to draw a graph in PHP. But i dont know whether i can
dynamically retreive data and refresh graph in PHP. If any have any
knowlegde regarding this so please help me. Tell me how i can
dynamically retrive data and refresh graph using PHP.
I will be thankful to you
Please help me.
Its urgent
Regards
Anu

Jul 17 '05 #2
an**********@gmail.com wrote:
Hello Friends
Friends I need some help regarding graph in PHP.
I know how to draw a graph in PHP. But i dont know whether i can
dynamically retreive data and refresh graph in PHP. If any have any
knowlegde regarding this so please help me. Tell me how i can
dynamically retrive data and refresh graph using PHP.
I will be thankful to you
Please help me.
Its urgent
Regards
Anu


Depends what you mean by graphs. If it's numerical charts, then JPGraph. If
its the more mathematical version (networks with nodes / edges / vertices)
try graphviz (not written in PHP).

HTH

C.
Jul 17 '05 #3
an**********@gmail.com wrote:
Hello Friends
Friends I need some help regarding graph in PHP.
I know how to draw a graph in PHP. But i dont know whether i can
dynamically retreive data and refresh graph in PHP. If any have any
knowlegde regarding this so please help me. Tell me how i can
dynamically retrive data and refresh graph using PHP.
I will be thankful to you
Please help me.
Its urgent
Regards
Anu


Jpgraph will do the ploting, <meta http-equiv="refresh" content="60">
will refresh the page every 60s.

You're not thinking of a "real-time" chart or anything like that are
you? That jpgraph/php can't do you need some sort of streaming app then.

Craig
Jul 17 '05 #4
Thanks to all for the kind concern
Craig as u said taht i can refresh the page with <meta
http-equiv="refresh" content="60"> after every 60s.
First thing is can u give me a sample script and an idea that how i can
test that teh graph is refreshing?
Actually what i hav to do is i have to retrieve data from web services
aftter every 3 seconds and then i have to move my graph in forward
direction. so that new data can be displayed in the futher incoming
graph.
More clearly I have to draw a graph in php just like the graphs that
are displayed for ECG or for any heart disorder.
Please give me a clear idea.
So that i can make it early because i am a newbie to php.
Thanks & Regards
Anubha

Jul 17 '05 #5
Php is probably not the good choice for this..
Take a look to java applets ..
<an**********@gmail.com> a écrit dans le message de news:
11**********************@o13g2000cwo.googlegroups. com...
Thanks to all for the kind concern
Craig as u said taht i can refresh the page with <meta
http-equiv="refresh" content="60"> after every 60s.
First thing is can u give me a sample script and an idea that how i can
test that teh graph is refreshing?
Actually what i hav to do is i have to retrieve data from web services
aftter every 3 seconds and then i have to move my graph in forward
direction. so that new data can be displayed in the futher incoming
graph.
More clearly I have to draw a graph in php just like the graphs that
are displayed for ECG or for any heart disorder.
Please give me a clear idea.
So that i can make it early because i am a newbie to php.
Thanks & Regards
Anubha

Jul 17 '05 #6
NC
anubhagar...@gmail.com wrote:

what i hav to do is i have to retrieve data from web services
aftter every 3 seconds and then i have to move my graph in forward
direction. so that new data can be displayed in the futher incoming
graph.
More clearly I have to draw a graph in php just like the graphs that
are displayed for ECG or for any heart disorder.
Please give me a clear idea.
So that i can make it early because i am a newbie to php.


Web service is a very poor choice of solution for this purpose.
Given that you require data acquisition every three seconds, you
should consider an approach that does not depend on HTTP. If
you use a Web service, your client will have to open a new
connection to the server every three seconds, transmit a request,
and receive a response. A better solution (for example, based
on sockets) would be for the client to establish the connection
once and keep listening for server output. This means that the
client would have to run continuously and, therefore, shouldn't
be a script of any kind. Consider a Java applet or a standalone
executable program...

Cheers,
NC

Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3129
by: Mark Fenbers | last post by:
I am investigating Python for the sake of ultimately generating hydrographs (such as this: http://ahps.erh.noaa.gov/iln/ahps/RiverDat/gifs/prgo1.png) on-the-fly from a web server cluster. I have...
9
7049
by: rhmd | last post by:
I need to create image files (eg bmp or jpeg) of xy scatter graphs (i.e., graphs in which markers denote individual points; the markers need to be small polygons of various sizes, shapes, colors,...
7
2361
by: Florian Lindner | last post by:
Hello, I'm looking for a program or python library to draw graphs. They should look like the that: /--------\ /--------\ | Node A | ------ belongs to ----> | Node B |...
22
1154
by: MJR | last post by:
Hi, just wondering what options I would have if I wanted to use Python to produce real-time graphs. Is there any plotting package suitable for this. Thanks, Mike
3
1801
by: puunda | last post by:
Hi, Hope I've posted to the right groups. I'm trying create a Crystal Report for the first time using C# (novice at that as well). The CR I can handel. What I want to do is to have a whole...
16
11812
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation....
0
590
by: Ray Mitchell | last post by:
Hello, I need to write an application that displays multiple graphs on multiple tabbed sheets in a single window. The graphs are all simple X-Y line graphs like you'd see on an oscilloscope,...
0
372
by: Bruce Schechter | last post by:
I need to generate a series of line charts dynamically from ADO.NET data in an ASP.NET application. I've read several articles about using GDI+ to render graphs into a bitmap image and then to...
2
1403
by: rahismailbox | last post by:
hi, i am making a virtual stock market in php. so is there any method in php for dynamic graphs. As the stock prices will keep on changing during the trading hours so i need the dynamic one....
0
7124
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6998
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5460
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4904
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.