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.
Method Summary |
protected org.jfree.chart.axis.CategoryAxis |
configureDomainAxis(org.jfree.chart.plot.CategoryPlot plot)
|
protected void |
configurePlot(org.jfree.chart.plot.CategoryPlot plot)
|
protected void |
configureRangeAxis(org.jfree.chart.axis.NumberAxis rangeAxis)
|
protected void |
configureRenderer(org.jfree.chart.renderer.category.LineAndShapeRenderer renderer)
|
org.jfree.chart.JFreeChart |
createChart()
Draws a chart into JFreeChart . |
protected org.jfree.data.category.DefaultCategoryDataset |
createDataset()
Creates a DefaultCategoryDataset for rendering a graph from a set of MultiStageTimeSeries . |
protected void |
crop(org.jfree.chart.plot.CategoryPlot plot)
|
void |
generateResponse(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
Object node)
Renders this object as an image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
timeScale
public final MultiStageTimeSeries.TimeScale timeScale
series
public final List<MultiStageTimeSeries> series
dataset
public final org.jfree.data.category.DefaultCategoryDataset dataset
MultiStageTimeSeries.TrendChart
public MultiStageTimeSeries.TrendChart(MultiStageTimeSeries.TimeScale timeScale,
MultiStageTimeSeries... series)
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
Copyright © 2004-2013. All Rights Reserved.