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