wiki:VisualizationPlugin

Version 2 (modified by robguttman, 3 years ago) (diff)

--

Graphs tables and other data using Google Visualization API

Description

This plugin adds Google Visualization graphs and charts to Trac pages. The most basic usage is graphing an existing report:

See examples below.

Configuration

  1. 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.

  1. Enable the plugin:
    [components]
    viz.* = enabled
    

You can alternatively use the Trac Web Admin GUI to enable any or all rules.

  1. Configure which pages to include graphs - example:
    [viz]
    reports = 7
    

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 below to see additional ways to include graphs on Trac pages.

Bugs/Feature Requests

Existing bugs and feature requests for VisualizationPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out VisualizationPlugin from here using Subversion, or browse the source with Trac.

Example

  • table
  • remote

Recent Changes

[14034] by rjollos on 2014-07-25 13:41:15
Fixed URL in setup.py. Refs #11832.
[14025] by rjollos on 2014-07-25 13:31:27
Changed license to 3-Clause BSD with permission of author. Refs #11832.
[13991] by rjollos on 2014-06-22 11:47:31
Indentation and whitespace cleanup using reindent.py.

Author/Contributors

Author: robguttman
Maintainer: robguttman
Contributors:

Attachments (3)

Download all attachments as: .zip