Reviewers: ,


Please review this at http://codereview.tryton.org/730002/

Affected files:
  M tryton/gui/window/view_form/view/graph_gtk/bar.py


Index: tryton/gui/window/view_form/view/graph_gtk/bar.py
===================================================================
--- a/tryton/gui/window/view_form/view/graph_gtk/bar.py
+++ b/tryton/gui/window/view_form/view/graph_gtk/bar.py
@@ -12,6 +12,10 @@

 class Bar(Graph):

+    def __init__(self, *args, **kwargs):
+        super(Bar, self).__init__(*args, **kwargs)
+        self.bars = []
+
     def drawGraph(self, cr, width, height):

         def drawBar(bar):


Reply via email to