web/views/plots.py
changeset 3408 c92170fca813
parent 3338 cd137d90f896
child 3451 6b46d73823f5
--- a/web/views/plots.py	Wed Sep 23 11:10:38 2009 +0200
+++ b/web/views/plots.py	Wed Sep 23 11:13:39 2009 +0200
@@ -121,7 +121,7 @@
 
 
 class PlotView(baseviews.AnyRsetView):
-    id = 'plot'
+    __regid__ = 'plot'
     title = _('generic plot')
     __select__ = at_least_two_columns() & all_columns_are_numbers()
     timemode = False
@@ -170,7 +170,7 @@
             self.w(u'<img src="%s" />' % xml_escape(piechart.url))
 
     class PieChartView(baseviews.AnyRsetView):
-        id = 'piechart'
+        __regid__ = 'piechart'
         pieclass = Pie
 
         __select__ = at_least_two_columns() & second_column_is_number()
@@ -199,5 +199,5 @@
 
 
     class PieChart3DView(PieChartView):
-        id = 'piechart3D'
+        __regid__ = 'piechart3D'
         pieclass = Pie3D