Added chart.js support