Initial implementation of chart.js
Fixed bug in detailed.html