Update chart-service.js