Date/time based plotting

Brought over snippets from the QCustomPlot real time example