Interface TrendChart

All Known Implementing Classes:
HealthTrendChart, NewVersusFixedTrendChart, SeverityTrendChart, ToolsTrendChart
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TrendChart
Creates a model for a trend chart of a given number of static analysis build results.
  • Method Summary

    Modifier and Type
    Method
    Description
    edu.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.
  • Method Details

    • create

      edu.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.
      Parameters:
      results - the analysis results to render
      configuration - the chart configuration to be used
      Returns:
      the chart model