Changes between Version 21 and Version 22 of TicketChartsMacro
- Timestamp:
- May 19, 2013, 7:54:08 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TicketChartsMacro
v21 v22 61 61 * '''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). 62 62 * '''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: 64 64 {{{ 65 query = milestone= "my_milestone"&owner="aviram"|"danny"65 query = milestone=my_milestone&owner=aviram|danny 66 66 }}} 67 67 * '''factor''' - The name of the field by which the stats will be formed. … … 81 81 Number of tickets per status for milestone4: 82 82 {{{ 83 [[TicketChart(type = pie, factor = status, query = milestone= "milestone4")]]83 [[TicketChart(type = pie, factor = status, query = milestone=milestone4)]] 84 84 }}} 85 85 [[Image(pie_by_status.png)]] … … 93 93 Number of tickets by status and owner for milestone1: 94 94 {{{ 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)]] 96 96 }}} 97 97 [[Image(stacked_bars_for_milestone1.png)]] … … 105 105 Number of tickets by status for milestone4: 106 106 {{{ 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)]] 108 108 }}} 109 109 [[Image(bars_for_milestone4.png)]]