Create chart-service.js