Official data shows China's consumer price index, a main gauge of inflation, was up 0.3 percent year on year in October.