Changes between Version 16 and Version 17 of VisualizationPlugin
- Timestamp:
- Jan 3, 2012, 1:01:21 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VisualizationPlugin
v16 v17 111 111 }}} 112 112 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.113 You 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. 114 114 115 115 '''Important''': whereas the {{{options}}} option ''adds'' to the {{{[viz]}}} section's {{{options}}}, all other options (e.g., {{{type}}}) ''override'' the {{{[viz]}}} section's options. … … 130 130 [[Image(burndown.png)]] 131 131 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.132 In 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. 133 133 134 134 See 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).