AG Barr has recorded an increase in year-to-date sales and said that trading remains in line with expectations, despite weak consumer spending.