Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 7.x, which is not the most recently released version of TeamCity. Please refer to the listing to choose another version.

Table of Contents

To help you track the condition of your projects and individual build configurations over time TeamCity gathers statistical data across all their history and displays it as visual charts. To learn more about statistics charts, refer to Statistic Charts. This page describes how to modify pre-defined project-level charts, and add custom charts on project or build configuration level:

Modifying Pre-defined Project-level Charts

By default, project's Statistics tab shows charts for all build configurations in the current project, which have coverage, duplicates or inspections data. However, you can disable charts of particular type at all, or specify build configurations to be used in the charts.

To modify pre-defined project level charts you need to configure <TeamCity data directory>/config/<project_name>/plugin-settings.xml file. In this file a similar format is used for all types of pre-defined graphs:

Chart Type

XML Tag Name

Code Coverage


Code Duplicates (Java and .NET)


Code Inspections


Disabling charts of particular type on project level

To disable charts of particular type for a project, use following syntax:

In this example, all code coverage charts will be removed from project's Statistics page.

Showing charts only for specific build configurations on project level

To show code coverage chart, which relates only to particular build configuration, use the following syntax:

where bt234 and bt236 values are build configuration identifiers.
However, note that denoted build configurations should contain code coverage data for charts to be shown. If the data is available, two charts will be shown (one for each specified build configuration).

Adding Custom Project- and Build Configuration-level Charts

Please, refer to the Custom Chart page for details.

See also: