|Version 6 (modified by robguttman, 3 years ago) (diff)|
Graphs tables and other data using Google Visualization API
This plugin adds Google Visualization graphs and charts to Trac pages. The most basic usage is graphing an existing report:
See more examples below.
- Install the plugin (after downloading and unzipping):
cd visualizationplugin/0.12 sudo python setup.py bdist_egg sudo cp dist/TracVisualization*.egg /your/trac/location/plugins/
See TracPlugins for more installation details and options. You'll likely need to restart Trac's web server after installation.
- Enable the plugin:
[components] viz.* = enabled
You can alternatively use the Trac Web Admin GUI to enable any or all rules.
- Configure which pages to include graphs - example:
[viz] reports = 21
The above example will populate an area chart from the table of data found in report 21 and display the chart above that table - see screenshot above. The examples section below shows additional ways to include graphs and charts on Trac pages.
If you have any issues, create a new ticket.
Download the zipped source from here.