7 | | * uses report table for chart |
8 | | * query remote data source |
| 7 | This plugin adds Google Visualization graphs and charts to Trac pages. The most basic usage is graphing an existing report: |
| 8 | |
| 9 | [[Image(effort.png)]] |
| 10 | |
| 11 | See examples below. |
| 12 | |
| 13 | == Configuration == |
| 14 | 1. Install the plugin (after downloading and unzipping): |
| 15 | {{{ |
| 16 | cd visualizationplugin/0.12 |
| 17 | sudo python setup.py bdist_egg |
| 18 | sudo cp dist/TracVisualization*.egg /your/trac/location/plugins/ |
| 19 | }}} |
| 20 | |
| 21 | See [http://trac.edgewall.org/wiki/TracPlugins TracPlugins] for more installation details and options. You'll likely need to restart Trac's web server after installation. |
| 22 | |
| 23 | 2. Enable the plugin: |
| 24 | {{{ |
| 25 | [components] |
| 26 | viz.* = enabled |
| 27 | }}} |
| 28 | |
| 29 | You can alternatively use the Trac Web Admin GUI to enable any or all rules. |
| 30 | |
| 31 | 3. Configure which pages to include graphs - example: |
| 32 | {{{ |
| 33 | [viz] |
| 34 | reports = 7 |
| 35 | }}} |
| 36 | |
| 37 | The above example will populate an area chart from the data found in report 7 and display the chart above that table. See the examples section [wiki:VisualizationPlugin#Examples below] to see additional ways to include graphs on Trac pages. |