fix data alignment issue when graphite data had different numbers of data points