added resampling and interpolation for lining up datasets for sparkline graphs