[ubuntu-za] Graphs on website

Charl Wentzel charl.wentzel at vodamail.co.za
Thu May 28 20:51:20 BST 2009


On Thu, 2009-05-28 at 18:37 +0200, Nic Roets wrote:
> Hello Charl,
> 
> A simple shortcut would be to execute gnuplot, either from php, or
> from a cgi-bin script.
> 
> On Thu, May 28, 2009 at 5:39 PM, Charl Wentzel
> <charl.wentzel at vodamail.co.za> wrote:
>         Hi Guys
>         
>         I have a PHP website currently showing data in a table based
>         on a MySQL
>         MySQL (obviously running on a LAMP server).  I would now like
>         to show a
>         graph in stead, e.g. line chart, bar graph, pie chard, etc.
>         
>         Is there a simple application that would dymanically create
>         one of these
>         charts (in say a gif or jpg format) from a MySQL query that I
>         can call
>         from PHP?
>         
>         I know about the PHP GD2 module that allows you to dynamically
>         draw
>         lines and stuff (like a Paintbrush applications), but that
>         would be
>         awfully complicated to generate charts with.
>         
>         Charl
>         
>         
>         --
>         ubuntu-za mailing list
>         ubuntu-za at lists.ubuntu.com
>         https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
> 

GNUplot really is something!  But has too much of a scientific look,
reminds me of my MatLab days.  

I found that there is a JDgraphs module for PHP which produces very
impressive graphs which is more esthetically orientated.  It also seems
to be well rated by users.

Thanx
Charl




More information about the ubuntu-za mailing list