Added xoffsets to ApiDataProvider.js