front-end: fixed ChartsController.js