| 118 | 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: |
| 119 | {{{ |
| 120 | [viz.milestone] |
| 121 | # Burndown |
| 122 | type = ColumnChart |
| 123 | options = width:400,height:300,title:'Burndown',colors:['blue','lightgray'],isStacked:true,backgroundColor:{strokeWidth:1,stroke:'#999'} |
| 124 | source = https://trac.mycompany.com/sumstats/query |
| 125 | selector = #stats fieldset |
| 126 | }}} |