Bar chart ported to chartjs.