| 1 | = TicketChartsMacro - display ticket statistics charts = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | Make various types of charts regarding the number of tickets using Open Flash Charts. |
| 6 | Chart types: |
| 7 | * Pie charts. |
| 8 | * Bar charts. |
| 9 | * Stacked bar charts. |
| 10 | |
| 11 | The charts are created by the parameters that you give to the macro. See the examples below. |
| 12 | |
| 13 | All charts are clickable (see requirements) and will link to the query page of the graph. |
| 14 | |
| 15 | |
| 16 | == Bugs/Feature Requests == |
| 17 | |
| 18 | Existing bugs and feature requests for TicketChartsMacro are |
| 19 | [report:9?COMPONENT=TicketChartsMacro here]. |
| 20 | |
| 21 | If you have any issues, create a |
| 22 | [http://trac-hacks.org/newticket?component=TicketChartsMacro&owner=aviram new ticket]. |
| 23 | |
| 24 | == Download == |
| 25 | |
| 26 | Download the zipped source from [download:ticketchartsmacro here]. |
| 27 | |
| 28 | == Source == |
| 29 | |
| 30 | You can check out TicketChartsMacro from [http://trac-hacks.org/svn/ticketchartsmacro here] using Subversion, or [source:ticketchartsmacro browse the source] with Trac. |
| 31 | |
| 32 | == Example == |
| 33 | |
| 34 | {{{ |
| 35 | Number of tickets per milestone: |
| 36 | [[TicketChart(type = pie, factor = milestone)]] |
| 37 | |
| 38 | Number of tickets per status for milestone4: |
| 39 | [[TicketChart(type = pie, factor = status, query = milestone="milestone4")]] |
| 40 | |
| 41 | Number of tickets by status and owners: |
| 42 | [[TicketChart(type = stacked_bars, key = owner, x_axis = status, height = 400, width = 600)]] |
| 43 | |
| 44 | Number of tickets by status and owner for milestone1: |
| 45 | [[TicketChart(type = stacked_bars, key = owner, x_axis = status, query = milestone="milestone1", title = Tickets by status and owner for milestone1)]] |
| 46 | |
| 47 | Number of tickets by owner and type: |
| 48 | [[TicketChart(type = stacked_bars, key = type, x_axis = owner)]] |
| 49 | |
| 50 | Number of tickets by status for milestone4: |
| 51 | [[TicketChart(type = bars, x_axis = status, query = milestone="milestone4", title = Tickets by status for milestone4)]] |
| 52 | }}} |
| 53 | |
| 54 | |
| 55 | == Recent Changes == |
| 56 | |
| 57 | [[ChangeLog(ticketchartsmacro, 3)]] |
| 58 | |
| 59 | == Author/Contributors == |
| 60 | |
| 61 | '''Author:''' [wiki:aviram] [[BR]] |
| 62 | '''Contributors:''' |