Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP / AJAX toolkit to make a "live graph" (eg for tracing stock prices)

how do i (after getting the right stock prices from a source) show it on a "live graph". i'm looking for a php/ajax toolkit that allows me to create that graph live?

is that the right thing to use or a flash based solution is better?

are there 3rdparty sites that offer to create live graphs given input data?

like image 838
Dave Avatar asked Feb 22 '10 11:02

Dave


People also ask

How do I use Google Charts in JavaScript?

The most common way to use Google Charts is with simple JavaScript that you embed in your web page. You load some Google Chart Libraries, list the data to be charted, select options to customize your chart, and finally, create a chart object with an id that you choose.

How do I make a chart in PHP?

PHP Charts & Graphs - PHP Charts made simple. The chart can also be plotted automatically using javascript without user intervention in real time. Easily change renderer type by simply prefixing plugin:: before a renderer name. phpChart supports the most commonly used charts including line, bar and pie charts. Animation Your Charts!

How to implement Live Search in PHP MySQL using jQuery from database?

Just follow the few below steps and easily implement live search in PHP MySQL using jQuery from database: 1. First Create a Database Connection File In this step, you will create a file name db.php and update the below code into your file. The below code is used to create a MySQL database connection in PHP.

How much does phpchart Lite cost?

Download phpChart Lite. It’s FREE! Start creating interactive charts and graphs for your online report with only TWO lines of PHP code.


2 Answers

Highcharts is probably what you need.

I recently started a new project to simplify the construction of a graph when using php:

http://aloiroberto.wordpress.com/2010/02/04/highcharts-php-library/

Also, Google Charts or Open Flash Chart are concrete possibilities (the latter will require Flash).

like image 194
Roberto Aloi Avatar answered Nov 15 '22 11:11

Roberto Aloi


you can have a look at JPGRAPH. It is a wonderful library for creating wide variety of graphs. As far as ajax is concerned this library outputs the graph as a picture file, so you can easily send the required parameters using ajax and build the graph dynamically using ajax.

like image 33
Gaurav Sharma Avatar answered Nov 15 '22 12:11

Gaurav Sharma