|Version 4 (modified by robguttman, 2 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 = 7
The above example will populate an area chart from the table of data found in report 7 and display the chart above that table. See the examples section below to see additional ways to include graphs on Trac pages.
If you have any issues, create a new ticket.
Download the zipped source from here.