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