Changes between Version 8 and Version 9 of StatusHistoryChartMacro


Ignore:
Timestamp:
Sep 22, 2016, 6:43:29 PM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • StatusHistoryChartMacro

    v8 v9  
    2020   * default: options for the field, ie {{{new/assigned/accepted/closed/*}}} for status.
    2121
     22Examples of how to use this macro:
     23
     24{{{
     25[[StatusHistoryChart]]
     26[[StatusHistoryChart(format=new/*/closed)]]
     27[[StatusHistoryChart(format=new/accepted+assigned AS in progress/closed)]]
     28[[StatusHistoryChart(owner=$USER&format=new/*/closed)]]
     29[[StatusHistoryChart(type=$TYPE&format=new/*/closed)]]  (uses CGI parameter for $TYPE)
     30[[StatusHistoryChart(report=milestone)]]
     31[[StatusHistoryChart(report=owner&format=/somebody/*/matobaa/)]]
     32}}}
     33
     34The output might look as follows where the open source [http://www.flotcharts.org flot graphing library] is used:
     35
     36[[Image(StatusHistoryChartMacro.png, border=2)]]
     37
    2238== Bugs/Feature Requests
    2339
    24 Existing bugs and feature requests for StatusHistoryChartMacro are [report:9?COMPONENT=StatusHistoryChartMacro here].
     40Existing bugs and feature requests for StatusHistoryChartMacro are
     41[report:9?COMPONENT=StatusHistoryChartMacro here].
    2542
    26 If you have any issues, create a [/newticket?component=StatusHistoryChartMacro new ticket].
     43If you have any issues, create a
     44[/newticket?component=StatusHistoryChartMacro new ticket].
    2745
    2846[[TicketQuery(component=StatusHistoryChartMacro&group=type,format=progress)]]
     
    3654You can check out StatusHistoryChartMacro from [/svn/statushistorychartmacro here] using Subversion, or [source:statushistorychartmacro browse the source] with Trac.
    3755
    38 == Example
    39 
    40 {{{
    41 [[StatusHistoryChart]]
    42 [[StatusHistoryChart(format=new/*/closed)]]
    43 [[StatusHistoryChart(format=new/accepted+assigned AS in progress/closed)]]
    44 [[StatusHistoryChart(owner=$USER&format=new/*/closed)]]
    45 [[StatusHistoryChart(type=$TYPE&format=new/*/closed)]]  (uses CGI parameter for $TYPE)
    46 [[StatusHistoryChart(report=milestone)]]
    47 [[StatusHistoryChart(report=owner&format=/somebody/*/matobaa/)]]
    48 }}}
    49 [[Image(StatusHistoryChartMacro.png)]]
    50 
    5156== Recent Changes
    5257