Update chart.coffee