Changes between Version 16 and Version 17 of VisualizationPlugin


Ignore:
Timestamp:
Jan 3, 2012 2:01:21 AM (3 years ago)
Author:
robguttman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VisualizationPlugin

    v16 v17  
    111111}}} 
    112112 
    113 The above customizes reports 21 and 23 differently.  Report 21 will be a green column chart with the given title, and report 23 will be a red area chart with its given title.  Both charts will inherit the {{{[viz]}}} section's width and height, however. 
     113You customize a page's graph by creating a section that matches all or part of its url after a {{{viz.}}} prefix.  So for example, the above customizes reports 21 and 23 differently.  Report 21 will be a green column chart with the given title, and report 23 will be a red area chart with its given title.  Both charts will inherit the {{{[viz]}}} section's width and height, however. 
    114114 
    115115 '''Important''': whereas the {{{options}}} option ''adds'' to the {{{[viz]}}} section's {{{options}}}, all other options (e.g., {{{type}}}) ''override'' the {{{[viz]}}} section's options. 
     
    130130[[Image(burndown.png)]] 
    131131 
    132 In the configuration above, the {{{source}}} specifies the data source (in this case the sumstats plugin) and the {{{selector}}} specifies the DOM element where the graph should be inserted before.  You can position graphs anywhere by specifying an appropriate selector. 
     132In the configuration above, the {{{source}}} specifies the data source (in this case the local sumstats plugin) and the {{{selector}}} specifies the DOM element where the graph should be inserted before.  You can position graphs anywhere by specifying an appropriate selector. 
    133133 
    134134See the [wiki:SumStatsPlugin SumStats plugin] for details on how to configure it for alternative visualizations (e.g., by adding a {{{query}}} to specify the columns to return and their order).