For the new graphs, you should use this method to add custom graphs :
http://www.ridgway.co.za/archive/2007/05/21/adding-custom-graphs-to-the-cruisecontrol.net-statistics-replacement.aspx
Here is my ccnetconfig for coverage statistic :
<firstMatch name="Coverage" xpath="//coverageReport/project/@coverage"/
>
And here my .js file modifications :
//Coverage
{
graphName: "Test Coverage",
dataSource: _recentStatistics,
numXTicks: _numberRecentGraphXTicks,
yRange: { lower: 0, upper: 100 },
dataType: 'decimal',
series: [
{ name: "Coverage", attributeName: "Coverage",
color: "blue" }
]
},
...
//Coverage
averageCoverage: function(successfulBuilds, failedBuilds)
{ return average(successfulBuilds, "Coverage") },
...
//Coverage
{
graphName: "Test Coverage",
dataSource: _summarisedStatistics,
numXTicks: _numberHistoricGraphXTicks,
dataType: 'decimal',
yRange: { lower: 0, upper: 100 },
series: [
{ name: "Coverage", attributeName:
"averageCoverage", color: "blue" }
]
},
Regards,
Antoine
On 10 sep, 00:23, Steve <[EMAIL PROTECTED]> wrote:
> I have some stats that I'm tracking using a statistics publisher. The
> values are getting recorded in the details section, but no graph is
> being generated, even though I have generateGraph="true". Is there any
> known issue surrounding this, or something else I have to enable?
>
> Thanks,
> Steve