Class HealthTrendChart
java.lang.Object
io.jenkins.plugins.analysis.core.charts.HealthTrendChart
- All Implemented Interfaces:
TrendChart
Builds the model for a trend chart showing all issues for a given number of builds. The issues are colored according
to the specified health report.
- Author:
- Ullrich Hafner
-
Constructor Summary
ConstructorDescriptionHealthTrendChart
(HealthDescriptor healthDescriptor) Creates a new chart with the specifiedHealthDescriptor
. -
Method Summary
Modifier and TypeMethodDescriptionedu.hm.hafner.echarts.LinesChartModel
create
(Iterable<? extends edu.hm.hafner.echarts.BuildResult<AnalysisBuildResult>> results, edu.hm.hafner.echarts.ChartModelConfiguration configuration) Creates the chart for the specified results.
-
Constructor Details
-
HealthTrendChart
Creates a new chart with the specifiedHealthDescriptor
.- Parameters:
healthDescriptor
- determines the range between healthy and unhealthy values
-
-
Method Details
-
create
public edu.hm.hafner.echarts.LinesChartModel create(Iterable<? extends edu.hm.hafner.echarts.BuildResult<AnalysisBuildResult>> results, edu.hm.hafner.echarts.ChartModelConfiguration configuration) Description copied from interface:TrendChart
Creates the chart for the specified results.- Specified by:
create
in interfaceTrendChart
- Parameters:
results
- the analysis results to renderconfiguration
- the chart configuration to be used- Returns:
- the chart model
-