Re: PHP Graphing Libraries...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've had a lot of success with flot, but that's a jQuery plugin, so it may
not be exactly what you need.  If you're just making graphs for client side
viewing, it ought to be sufficient, though.

On Fri, Jun 5, 2009 at 8:33 AM, lists@xxxxxxxxx <lists@xxxxxxxxx> wrote:

>
> On Jun 5, 2009, at 5:26 AM, Richard Heyes wrote:
>
>  ...
>>>
>>
>> I would have to suggest RGraph... ( http://www.rgraph.net ) :-) It's
>> uses canvas though, so browser support is limited at the moment though
>> to Firefox 3.5, Safari 4 and Chrome  2.
>>
>
>
> I've looked at the docs and I don't see how exactly it handles "x,y"
> plotting.  I need the ability to plot multiple lines (which it obviously
> does) with wildly varying "x,y" values.   It seems that all of these
> libraries "cheat" and force common "x" values via the labels.  I need
> something like the following (all in the same chart):
>
>        $line_one_data = [x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y,x,y]
>        $line_two_data = [x,y,x,y,x,y,x,y]
>        $line_three_data = [x,y,x,y,x,y,x,y,x,y,x,y,x,y]
>
>        $graph->plot($line_one_data,$line_two_data,$line_three_data)
>
> As I said, each "line" has its own set of "x,y", and although they're all
> obviously numbers, they don't all have "y" results at the same "x intervals"
> so I need to be able to control them independently.  Surely there's
> something that can accommodate this...?
>
>
> Best,
> Michael

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux