Refactoring to share graphing timeseries calibration.