you can. It is cumbersome and I am looking to make it easy. Two ways
for now:

assuming
db.define_table('data',Field('x','integer'),Field('y','double'))


``
{{data = [r.x for r in db().select(db.data.y,orderby=db.data.x)]}}
{{=plugin_wiki.widget('bar_chart',data=data)}}
``:template

or

``
name: bar_chart
data: {{=','.join(str(r.x) for r in
db().select(db.data.y,orderby=db.data.x)}}
'':widget

On Aug 7, 11:31 pm, cadrentes <[email protected]> wrote:
> Can I use data from a table to build the charts and tables instead of
> a comma delimited list?  If yes, how?

Reply via email to