Changes between Version 21 and Version 22 of VisualizationPlugin
- Timestamp:
- Jan 3, 2012, 1:23:08 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VisualizationPlugin
v21 v22 102 102 103 103 === Existing report, different charts per report === 104 You will likely want to customize the charts in different reports differently. To do that, create a new section for the reports instead of including them in the main {{{[viz]}}} section's {{{reports}}} option:104 If you use multiple graphs and charts, you may want to customize them differently for different reports. To do that, create a new section for the reports instead of including them in the main {{{[viz]}}} section's {{{reports}}} option: 105 105 {{{ 106 106 [viz] … … 118 118 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. 119 119 120 '''Important''': whereas the {{{options}}} option ''adds'' to the {{{[viz]}}} section's {{{options}}}, all other options (e.g., {{{type}}}) ''override'' the {{{[viz]}}} section's options.120 '''Important''': whereas the {{{options}}} option ''adds'' to the base {{{[viz]}}} section's {{{options}}}, all other options (e.g., {{{type}}}) ''override'' the base {{{[viz]}}} section's options. 121 121 122 122 === Burndown chart on Milestone page === 123 In the examples above, the data for the charts came from a report table found on the same page. You can also create charts by [http://code.google.com/apis/chart/interactive/docs/queries.html querying remote data sources] for the data using data sourcesthat conform to the [http://code.google.com/apis/chart/interactive/docs/dev/implementing_data_source.html Google Visualization Data Source API]. One such example is [wiki:SumStatsPlugin SumStats plugin] which provides a burndown data source amenable to graphing on any milestone page. For example:123 In the examples above, the data for the charts came from a report table located on the same page. You can also create charts by [http://code.google.com/apis/chart/interactive/docs/queries.html querying remote data sources] that conform to the [http://code.google.com/apis/chart/interactive/docs/dev/implementing_data_source.html Google Visualization Data Source API]. One such example is [wiki:SumStatsPlugin SumStats plugin] which provides a burndown data source amenable to graphing on any milestone page. For example: 124 124 {{{ 125 125 [viz.milestone]