Add chart.js functionality