diff --git a/src/app/index.coffee b/src/app/index.coffee index 6bc7ca237c..35c0506b25 100644 --- a/src/app/index.coffee +++ b/src/app/index.coffee @@ -254,9 +254,11 @@ ready (model) -> for obj in task.get('history') matrix.push [obj.date, obj.value] data = google.visualization.arrayToDataTable matrix - + options = { title: 'History' + #TODO use current background color: $(el).css('background-color), but convert to hex (see http://goo.gl/ql5pR) + backgroundColor: 'whiteSmoke' } chart = new google.visualization.LineChart(document.getElementById( task.get('id') + '-chart' ))