Switch sequence of [timestamp, time] so that timestamp is on the x-axis. Also converted time JSON element to float since flot requires both as number.
Show legend on chart.
Merge pull request #9 from plesf/master

Flot graphs now working with legend