Changes between Version 21 and Version 22 of VisualizationPlugin


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

--

Legend:

Unmodified
Added
Removed
Modified
  • VisualizationPlugin

    v21 v22  
    102102
    103103=== 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:
     104If 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:
    105105{{{
    106106[viz]
     
    118118You 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.
    119119
    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.
    121121
    122122=== 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 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:
     123In 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:
    124124{{{
    125125[viz.milestone]