Changes between Version 10 and Version 11 of VisualizationPlugin


Ignore:
Timestamp:
Jan 2, 2012, 5:36:23 PM (3 years ago)
Author:
robguttman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VisualizationPlugin

    v10 v11  
    9191reports = 21,23
    9292type = ColumnChart
    93 options = colors:['green'],title='Whistle while we work'
     93options = width:600,height:400,colors:['green'],title='Whistle while we work'
    9494}}}
    9595
    9696[[Image(whistle.png)]]
     97
     98=== Existing report, different charts per report ===
     99You 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:
     100{{{
     101[viz]
     102options = width:600,height:400
     103
     104[viz.report/21]
     105type = ColumnChart
     106options = colors:['green'],title='Whistle while we work'
     107
     108[viz.report/23]
     109type = AreaChart
     110options = colors:['red'],title='Bugs baby!'
     111}}}
     112
     113The 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
     115 '''Important''': whereas the {{{options}}} option ''adds'' to the {{{[viz]}}} section's {{{options}}}, all other options ''override'' the {{{[viz]}}} section's options.
    97116
    98117=== Burndown chart on Milestone page ===