From 7375282124078ef2afc8da324247853efa86b355 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 29 Jun 2012 04:44:52 -0400 Subject: [PATCH] chart background color --- src/app/index.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' ))