Since plots autoscale for the Y axis, the selection mode shouldn't be "xy", but rather just "x". This makes selecting a time-interval much easier.
Prep for adding colour hooks.
Merge branch 'master' of https://github.com/emoncms/emoncms
Colours now work!
Homogenized indentation disaster. Seriously: two-space, four-space AND tab indentation? Arrrrgh.
Fix issues with colour in firefox.
Mouseover popup now works for rawdata plots.
It still has some issues (positioning isn't ideal since it's statically set, rather then determined by string length), but it makes the graphs a LOT nicer.
Tooltips now handle dynamic length content properly.
Remove specious limit of 30 modes.

I have lots of single-return nodes (temperature sensors, mostly). They're all asynchronous, so I can't easily collate them into a single node with multiple channels. The limitation of 30 nodes seems completely pointless, and the underlying system can apparently support arbitrary numbers of nodes, so I just removed the limit checking entirely (it does still not allow negative node numbers).
Fixed stupid issue with quoted variable. Visualization editor is now working properly again.
Multigraph is now colourable.
There are still a few issues (mostly with the tooltips), but the rest of it works.
Fix stupid plot line colour issues. Apparently some browsers (chrome) don't need "#" prepended to hex colours, and other do. What the hell?
Merge branch 'master' of https://github.com/emoncms/emoncms

Minor cleanup on merged changes. Next commit will have complete cleanup of the new PHPTimestore.php file.
Cleaned up indentation. Again. Seriously.... tabs AND spaces mixed randomly? What the hell? At least chose *one* and stick with it.
Fix issue https://github.com/emoncms/emoncms/issues/129

Hours, minutes, seconds now have "0" prepended if they're < 10, so you get 01:01:01 rather then 1:1:1 for 1 am, 1 minute, 1 second.
Tooltips now behave the same on both the multigraph and the rawdata plots.
I also added the fadein behaviour from the multigraph tooltips to the rawdata plot as well, since it's cool and looks nice.
Timestore based get_Series function
phptimestore based average data
Tweak units to display more resolution. Paragraphs now show two significant digits for kWh, and fall back to Wh when the value is less then 1 kWh.
Also, the dial display shows 2 significant digits for n < 10, and 1 significant digit for n < 100.
Merge in changes from patch-request https://github.com/emoncms/emoncms/pull/125
(I plan to add a rain-gauge myself in the near future, so this will be useful then.)