add previous value and user-specified data to gauges