|
Posted by Colin McKinnon on 01/04/07 13:32
Sonnich wrote:
> Happy new year!
>
You too.
> I need to create a page with a graph. Data will be read from a DB,
> processed and then I should create a JPG or something to show.
> Does any one know of a component which can do this?
>
It depends what you mean by a graph - a series of vertices (nodes) connected
by edges (e.g. a state diagram) or do you mean the kind of chart you would
produce using a spreadsheet?
For the former, graphviz - a standlone rendering program which uses its own
graph description language (which can easily be generated with PHP). For
the latter, jpgraph - a PHP library.
Try Google for URLs.
> I wonder, whether WMF files would be better, probably esier to create.
>
In what way better? (SVG is the open standard for scalable vector graphics
and is supported by Graphviz & Mozilla/Firefox - MSIE requires a free
plugin).
C.
> BR
> Sonnich
Navigation:
[Reply to this message]
|