Update chart.js

implement bar segments and chart content