Changes between Version 1 and Version 2 of VisualizationPlugin


Ignore:
Timestamp:
Jan 2, 2012, 4:51:35 PM (3 years ago)
Author:
robguttman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VisualizationPlugin

    v1 v2  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Easily Add Google Visualization charts to pages =
     3= Graphs tables and other data using Google Visualization API =
    44
    55== Description ==
    66
    7  * uses report table for chart
    8  * query remote data source
     7This 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
     11See 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
     37The 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.
    938
    1039