Custom Chart
Abstact class for Project and Build Type related custom charts.
Example. Add a build-configuration-level custom chart.
project {
// Other Project settings ...
features {
// Other Project Features ...
buildTypeCustomChart {
id = "BuildTypeCustomChartID"
title = "Chart Title"
seriesTitle = "Series Title"
format = CustomChart.Format.DURATION
series = listOf(
Serie(title = "Build Duration (all stages)", key = SeriesKey.BUILD_DURATION),
Serie(title = "Build Step #1 - Command Line with id RUNNER_14", key = SeriesKey.buildStepDuration("RUNNER_14"))
)
}
Content copied to clipboard }
}
Inheritors
Types
Abstract class for Series
The type of the Y axis
Predefined default filters.
The format of the Y axis values.
Predefined hide filters.
Series of data to be shown on the chart specified with pattern
A serie of data to be shown on the chart.
Properties
The list of options to be checked by default.
The list of filter names that will not be shown next to the chart.
The list of data shown on the chart.
The title above the list of series used on the chart (in the singular form). The default is Serie
.
Whether the zero value is included on the Y axis.
Functions
Copies parameters of this object to the specified target
Creates an instance of this project feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.
Validates this object and reports found errors to the provided consumer