Changes between Version 21 and Version 22 of TicketChartsMacro


Ignore:
Timestamp:
May 19, 2013, 7:54:08 AM (11 years ago)
Author:
Ryan J Ollos
Comment:

Refs #11072.

Legend:

Unmodified
Added
Removed
Modified
  • TicketChartsMacro

    v21 v22  
    6161  * '''height''', '''width''' - The height and width of the graph, in pixels. Percents will not work. If not specified, the values from trac.ini are taken (and if those aren't specified, then other default values are used).
    6262  * '''title''' - Text that will be displayed on the top of the chart.
    63   * '''query''' - A Trac Query. All the stats will be taken from this query. It is important that everything in the query's parmeters will be under quotes. Examples:
     63  * '''query''' - A Trac Query. All the stats will be taken from this query. Examples:
    6464  {{{
    65 query = milestone="my_milestone"&owner="aviram"|"danny"
     65query = milestone=my_milestone&owner=aviram|danny
    6666}}}
    6767  * '''factor''' - The name of the field by which the stats will be formed.
     
    8181Number of tickets per status for milestone4:
    8282{{{
    83 [[TicketChart(type = pie, factor = status, query = milestone="milestone4")]]
     83[[TicketChart(type = pie, factor = status, query = milestone=milestone4)]]
    8484}}}
    8585[[Image(pie_by_status.png)]]
     
    9393Number of tickets by status and owner for milestone1:
    9494{{{
    95 [[TicketChart(type = stacked_bars, key = owner, x_axis = status, query = milestone="milestone1", title = Tickets by status and owner for milestone1)]]
     95[[TicketChart(type = stacked_bars, key = owner, x_axis = status, query = milestone=milestone1, title = Tickets by status and owner for milestone1)]]
    9696}}}
    9797[[Image(stacked_bars_for_milestone1.png)]]
     
    105105Number of tickets by status for milestone4:
    106106{{{
    107 [[TicketChart(type = bars, x_axis = status, query = milestone="milestone4", title = Tickets by status for milestone4)]]
     107[[TicketChart(type = bars, x_axis = status, query = milestone=milestone4, title = Tickets by status for milestone4)]]
    108108}}}
    109109[[Image(bars_for_milestone4.png)]]