Changes between Version 15 and Version 16 of JqChartMacro


Ignore:
Timestamp:
Sep 21, 2016, 7:58:56 PM (8 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • JqChartMacro

    v15 v16  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = JQPlot Chart Macro
     3= Add JQPlot charts to wiki pages
    44
    55== Description
    66
    7 This macro adds [http://www.jqplot.com/index.php jqPlot] based charts to Trac pages:
     7This macro adds [http://www.jqplot.com/index.php jqPlot] based charts to Trac wiki pages:
    88
    99[[Image(gauge.png)]]
    1010[[Image(line.png)]]
    1111
    12 jqPlot is a plotting and charting plugin for the jQuery Javascript framework and is dual licensed under GPL and MIT.
     12jqPlot is a plotting and charting plugin for the jQuery Javascript framework and is dual licensed under GPL and MIT. For usage of this macro, see examples below.
    1313
    1414== Bugs/Feature Requests
     
    3434General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    3535
    36 == Configuration
    37 
    3836Make sure that jqplotchart is enabled in your `trac.ini` file:
    3937
     
    4442
    4543== Examples
     44
    4645The options element is the jqPlot options parameter. See the [http://www.jqplot.com/index.php jqPlot website] for more information.
     46
    4747=== Gauge chart
     48
    4849This creates a gauge counting the number of rows returned in report number 10:
    4950
     
    6566
    6667=== Line chart
     68
    6769This creates a line chart with one series per ticket type. The x axis is the time the ticket was created, and the y axis is a 'cooked' number for demonstration only (the ticket id times 10). Notice that the sql query returns the ticket id. This will make each point in the chart clickable. When you click on a point, you will be sent to the ticket corresponding to that point:
    6870
     
    8183
    8284=== Ticket status as pie chart
     85
    8386The following creates a pie chart showing the number of tickets for each status. Label and grid are hidden.
    8487{{{
     
    121124[[Image(ticket_status_pie.png, 350px)]]
    122125
    123 The same chart but using different render options.
     126The same chart but using different render options:
    124127{{{
    125128{{{
     
    163166}}}
    164167}}}
     168
    165169[[Image(ticket_status_pie2.png, 350px)]]
     170
    166171== Recent Changes
    167172