tried with
return dict(form=form,chart=chart)
?
Il giorno mercoledì 20 gennaio 2016 14:47:16 UTC+1, kecajk...@gmail.com ha
scritto:
>
> Hi Guys,
>
> I try to use pygal to draw some charts and it works fine. I used example
> from:
>
>
> http://www.web2pyslices.com/slice/show/1634/beauty-graphic
Hi
Try separate function for form & chart and in the view/form.html you can
use function {{ =LOAD('chart', ...) }}
or
You can embedded python chart code into form.html for example:
{{
import pygal
from pygal.style import DefaultStyle
from pygal import Config
config = Config()
co
2 matches
Mail list logo