Class HealthTrendChart

java.lang.Object
io.jenkins.plugins.analysis.core.charts.HealthTrendChart
All Implemented Interfaces:
TrendChart

public class HealthTrendChart extends Object implements 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 Details

    • HealthTrendChart

      public HealthTrendChart(HealthDescriptor healthDescriptor)
      Creates a new chart with the specified HealthDescriptor.
      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 interface TrendChart
      Parameters:
      results - the analysis results to render
      configuration - the chart configuration to be used
      Returns:
      the chart model