bugfix & features on chartjs.