China's consumer price index (CPI), a main gauge of inflation, was up 0.2 percent year on year in June, the National Bureau of Statistics showed Wednesday.