Specify data lifespan rather than # of samples

The end-user can now specify how long data should be kept.  This also
controls how much data is pulled for the chart.

This should be a little more intuitive than specifying the number of
samples to keep.