Package hudson.model

Class MultiStageTimeSeries.TrendChart

java.lang.Object
hudson.model.MultiStageTimeSeries.TrendChart
All Implemented Interfaces:
org.kohsuke.stapler.HttpResponse
Enclosing class:
MultiStageTimeSeries

public static class MultiStageTimeSeries.TrendChart extends Object implements org.kohsuke.stapler.HttpResponse
Represents the trend chart that consists of several MultiStageTimeSeries.

This object is renderable as HTTP response.

  • Field Details

  • Constructor Details

  • Method Details

    • createDataset

      protected org.jfree.data.category.DefaultCategoryDataset createDataset()
      Creates a DefaultCategoryDataset for rendering a graph from a set of MultiStageTimeSeries.
    • createChart

      public org.jfree.chart.JFreeChart createChart()
      Draws a chart into JFreeChart.
    • configureRangeAxis

      protected void configureRangeAxis(org.jfree.chart.axis.NumberAxis rangeAxis)
    • crop

      protected void crop(org.jfree.chart.plot.CategoryPlot plot)
    • configureDomainAxis

      protected org.jfree.chart.axis.CategoryAxis configureDomainAxis(org.jfree.chart.plot.CategoryPlot plot)
    • configureRenderer

      protected void configureRenderer(org.jfree.chart.renderer.category.LineAndShapeRenderer renderer)
    • configurePlot

      protected void configurePlot(org.jfree.chart.plot.CategoryPlot plot)
    • generateResponse

      public void generateResponse(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp, Object node) throws IOException, jakarta.servlet.ServletException
      Renders this object as an image.
      Specified by:
      generateResponse in interface org.kohsuke.stapler.HttpResponse
      Throws:
      IOException
      jakarta.servlet.ServletException