wiki:TicketChartsMacro

Version 1 (modified by aviram, 15 years ago) (diff)

New hack TicketChartsMacro, created by aviram

TicketChartsMacro - display ticket statistics charts

Description

Make various types of charts regarding the number of tickets using Open Flash Charts. Chart types:

  • Pie charts.
  • Bar charts.
  • Stacked bar charts.

The charts are created by the parameters that you give to the macro. See the examples below.

All charts are clickable (see requirements) and will link to the query page of the graph.

Bugs/Feature Requests

Existing bugs and feature requests for TicketChartsMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:ticketchartsmacro here].

Source

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

Example

Number of tickets per milestone:
[[TicketChart(type = pie, factor = milestone)]]

Number of tickets per status for milestone4:
[[TicketChart(type = pie, factor = status, query = milestone="milestone4")]]

Number of tickets by status and owners:
[[TicketChart(type = stacked_bars, key = owner, x_axis = status, height = 400, width = 600)]]
 
Number of tickets by status and owner for milestone1:
[[TicketChart(type = stacked_bars, key = owner, x_axis = status, query = milestone="milestone1", title = Tickets by status and owner for milestone1)]]

Number of tickets by owner and type:
[[TicketChart(type = stacked_bars, key = type, x_axis = owner)]]

Number of tickets by status for milestone4:
[[TicketChart(type = bars, x_axis = status, query = milestone="milestone4", title = Tickets by status for milestone4)]]

Recent Changes

13335 by jun66j5 on 2013-07-17 16:26:41
refs #6904: fixed UnicodeDecodeError, _get_random_string generates a 8-bit string if non en-US locale
13250 by rjollos on 2013-05-27 14:50:34
Refs #6904, #11072: Refactoring and improved backward compatibility for changes in [13247] and [13248], suggested by Jun Omae (jun66j5).
13248 by rjollos on 2013-05-27 12:12:16
Refs #11072: Avoid values of 'None' in query string for "clickable link" when value should be an empty string.
(more)

Author/Contributors

Author: aviram
Contributors:

Attachments (6)

Download all attachments as: .zip