using charts in appengine with Jinja2

15 views
Skip to first unread message

StephenB

unread,
Jan 9, 2019, 11:13:14 AM1/9/19
to Google Visualization API
Can anybody provide an example of using python appengine with Jinja2 templates to draw a chart created by code?

assume there is a python list of two item lists/tuples:

table=[(1,1),(2,2),(3,4)]

and we want to pass that to a jinja2 template. Prefer to have the javascript in the body not in the head.

Wish Google devs had provided such an example in the docs, appengine is a most natural application for Google Charts.
Thanks everybody.
Reply all
Reply to author
Forward
0 new messages