If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    sif-baksh-10957  6 years ago

    Question trying to get this to work my self

    pie.html

    <script type="text/javascript" src="http://kozea.github.com/pygal.js/javascripts/svg.jquery.js"></script>
    <script type="text/javascript" src="http://kozea.github.com/pygal.js/javascripts/pygal-tooltips.js"></script>
    {{extend 'layout.html'}}
    <h1>This is the examples/pie.html template</h1>
    
    <embed src="{{=URL(pie)}}" type="image/svg+xml" />
    

     

Commented on:

Implementing Web2Py+Pygal 2.0. Pygal is a dynamic SVG charting library, It features various graph types: Bar charts, Line charts, XY charts, Pie charts, Radar charts, Dot charts, Pyramid charts, Funnel charts and Gauge charts.

Hosting graciously provided by:
Python Anywhere