switch to c3.js for charts