Changes between Version 1 and Version 2 of TicketChartsMacro


Ignore:
Timestamp:
Apr 17, 2009, 3:27:45 PM (15 years ago)
Author:
aviram
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TicketChartsMacro

    v1 v2  
    2929
    3030You can check out TicketChartsMacro from [http://trac-hacks.org/svn/ticketchartsmacro here] using Subversion, or [source:ticketchartsmacro browse the source] with Trac.
     31
     32== Requirements ==
     33  * [http://teethgrinder.co.uk/open-flash-chart-2/ Open Flash Charts] installed on your server - preferably [http://www.ofc2dz.com/ OFCDZ] to make the charts clickable.
     34  * Advanced Argument Parser for Trac Macros (AdvParseArgsPlugin).
     35  * Tested only on Trac 0.11.3.
     36  * Tested only on Apache configuration, but with proper configuration (see configuration section) this should work with any http server (including tracd).
     37
     38== Installation ==
     39  * Download the source.
     40  * Copy the file TicketCharts.py to your project's plugins directory or to the global plugins directory, which is usually in:
     41{{{
     42/usr/share/trac/plugins
     43}}}
     44  * Enable TicketCharts plugin via the WebAdmin interface or by adding the following lines to the [components] section of trac.ini:
     45  {{{
     46  ticketcharts.* = enabled
     47  }}}
     48  * Install Open Flash Charts 2 '''and its version 2 python bindings''' (everything can be downloaded from [http://teethgrinder.co.uk/open-flash-chart-2/ Open Flash Charts]).
     49
     50== Configuration ==
     51  * The following configuration should appear in trac.ini:
     52{{{
     53[ticket-charts]
     54height = 300
     55width = 500
     56js_dir = /js
     57json_dir = /js/json
     58ofc_file = /OFCDZ.swf
     59}}}
     60  * If this does not appear, default values will be used.
     61  * ''js_dir'', ''jsor_dir'' and ''ofc_file'' are the location '''on the http server''' of the Open Flash Charts files.
     62  * As you can see, the default '''ofc_file''' value is OFCDZ.swf, which is another implementation of Open Flash Charts, that make the bar charts clickable. You can download it from [http://www.ofc2dz.com/ OFCDZ].
    3163
    3264== Example ==