Re: PHP Graphing Libraries...?

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

 



Hi,

> Correct, but do you notice how although you're plotting multiple lines, they
> all share X values? They all change direction nicely and neatly at the same
> X value.  Mine don't do that.  I need to plot different X values for each
> data set.  So if I'm logging values for time, I won't necessarily have the
> same increment spacing for each data set.  I might have an X-coord at
> 5,6,7,8 for one data set, but have another at 5.5,6.5,7.9,9.2 for another
> data set.  Most of the existing APIs assume you're going to plot nice neat
> X-coord values for each data set (e.g. 2005, 2006, 2007, 2008, 2009).  Mine
> vary for each data set.
> I believe Google Charts chart type "cht=lxy"does what I need.  Take a look
> at that example and notice how the X values vary per data set, they're not
> all synchronous.

I'm still not sure I get it. What about a Scatter chart with the
points connected? Would that be reasonable? With this you'd specify a
max X value of say 365 to represent a year, and then plot the values
based on that, ie: 67,57|234,80|57,89 ad infinitum. Then just connect
the points. If there's a pattern, it would become apparent.

-- 
Richard Heyes
HTML5 graphing: RGraph (www.rgraph.net - updated 6th June)
PHP mail: RMail (www.phpguru.org/rmail)
PHP datagrid: RGrid (www.phpguru.org/rgrid)
PHP Template: RTemplate (www.phpguru.org/rtemplate)
PHP SMTP: http://www.phpguru.org/smtp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[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