Package hudson.model

Class 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.

    • Method Detail

      • 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.StaplerRequest req,
                                     org.kohsuke.stapler.StaplerResponse rsp,
                                     Object node)
                              throws IOException,
                                     javax.servlet.ServletException
        Renders this object as an image.
        Specified by:
        generateResponse in interface org.kohsuke.stapler.HttpResponse
        Throws:
        IOException
        javax.servlet.ServletException