equal
deleted
inserted
replaced
116 plotdata.append("{label: '%s', data: %s}" % (label.replace(u'&', u''), plotid)) |
116 plotdata.append("{label: '%s', data: %s}" % (label.replace(u'&', u''), plotid)) |
117 req.html_headers.add_onload(self.onload % |
117 req.html_headers.add_onload(self.onload % |
118 {'plotdefs': '\n'.join(plotdefs), |
118 {'plotdefs': '\n'.join(plotdefs), |
119 'figid': figid, |
119 'figid': figid, |
120 'plotdata': ','.join(plotdata), |
120 'plotdata': ','.join(plotdata), |
121 'mode': self.timemode and "'time'" or 'null'}) |
121 'mode': self.timemode and "'time'" or 'null'}, |
|
122 jsoncall=req.form.get('jsoncall', False)) |
122 |
123 |
123 |
124 |
124 class PlotView(baseviews.AnyRsetView): |
125 class PlotView(baseviews.AnyRsetView): |
125 __regid__ = 'plot' |
126 __regid__ = 'plot' |
126 title = _('generic plot') |
127 title = _('generic plot') |