From 1655262c148a6eb1f076c046b80be5dd29055c49 Mon Sep 17 00:00:00 2001 From: Agustin Zubiaga Date: Thu, 26 Jan 2012 20:37:30 +0000 Subject: Use the activity name for the chart title and the user colors for the chart color --- (limited to 'charts.py') diff --git a/charts.py b/charts.py index dc31ad5..3915aa1 100644 --- a/charts.py +++ b/charts.py @@ -65,7 +65,7 @@ class Chart(gobject.GObject): } }, 'background': { - 'chartColor': '#f3f9fb', + 'chartColor': '#FFFFFF', 'lineColor': '#d1e5ec' }, 'colorScheme': { @@ -79,9 +79,6 @@ class Chart(gobject.GObject): def set_color_scheme(self, color='blue'): self.options["colorScheme"]["args"] = {'initialColor': color} - def set_bg_color(self, color='#f3f9fb'): - self.options["background"]["chartColor"] = color - def set_line_color(self, color='#d1e5ec'): self.options["background"]["lineColor"] = color -- cgit v0.9.1