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


  • 0
    abraindump  10 years ago
    The hover effect does not work in web2py because the required javascript files are hosted on an insecure server at github.  To solve this problem you must host the two requred JS files on your web2py server.
     
    Download and save these two JS files to your web2py server/applicaitons/static/js folder.
    http://kozea.github.com/pygal.js/javascripts/svg.jquery.js
    http://kozea.github.com/pygal.js/javascripts/pygal-tooltips.js
     
    Make sure the file permsissions are correct.  On linux set the owner to web2py.  Verify you can access these two files from your browser.
    https://<IP>:8000/<appname>/static/js/svg.jquery.js
    https://<IP>:8000/<appname>/static/js/pygal-tooltips.js
    ...see next comment...

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