added chart.js feature