hamster-applet r772 - trunk/hamster



Author: tbaugis
Date: Sat Feb 21 20:40:12 2009
New Revision: 772
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=772&view=rev

Log:
"stack_keys" is more accurate

Modified:
   trunk/hamster/stats.py

Modified: trunk/hamster/stats.py
==============================================================================
--- trunk/hamster/stats.py	(original)
+++ trunk/hamster/stats.py	Sat Feb 21 20:40:12 2009
@@ -340,8 +340,6 @@
         label2 = self.get_widget("dayview_caption")
         label2.set_markup("%s" % (dayview_caption))
         
-        
-        
         fact_list = storage.get_facts(self.start_date, self.end_date)
         
         if not fact_list:
@@ -363,7 +361,7 @@
         categories = [cat[0] for cat in storage.get_popular_categories()]
         self.activity_chart.plot(activity_totals['keys'],
                                   activity_totals['values'],
-                                  series_keys = categories)
+                                  stack_keys = categories)
 
 
         #show days or dates depending on scale
@@ -374,11 +372,11 @@
 
 
         self.day_chart.plot(day_keys, day_category_totals['values'],
-                             series_keys = day_category_totals['keys'])
+                             stack_keys = day_category_totals['keys'])
 
         category_totals = [[sum(value) for value in zip(*day_category_totals['values'])]]
         self.category_chart.plot([_("Total")], category_totals,
-                                  series_keys = day_category_totals['keys'])
+                                  stack_keys = day_category_totals['keys'])
         
         
         #total string in right bottom corner, maybe temporar



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]