[billreminder] use horizontal bar chart so that the category labels fit
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [billreminder] use horizontal bar chart so that the category labels fit
- Date: Mon, 30 Nov 2009 20:01:41 +0000 (UTC)
commit 9ed1df9ea030717ca704847db140229df9bc4b0c
Author: Toms Bauģis <toms baugis gmail com>
Date: Mon Nov 30 20:00:56 2009 +0000
use horizontal bar chart so that the category labels fit
src/gui/widgets/chartwidget.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/widgets/chartwidget.py b/src/gui/widgets/chartwidget.py
index 635417f..98e70e0 100644
--- a/src/gui/widgets/chartwidget.py
+++ b/src/gui/widgets/chartwidget.py
@@ -4,7 +4,7 @@ import pygtk
pygtk.require('2.0')
import gtk
-from charting import BarChart
+from charting import HorizontalBarChart
class ChartWidget(gtk.EventBox):
background = (0.975, 0.975, 0.975)
@@ -13,7 +13,7 @@ class ChartWidget(gtk.EventBox):
def __init__(self):
gtk.EventBox.__init__(self)
- self.chart = BarChart(
+ self.chart = HorizontalBarChart(
background = self.background,
bar_base_color = (238,221,221),
legend_width = self.x_offset,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]