public abstract class Graph extends Object
This object exposes two URLs:
| Modifier | Constructor and Description |
|---|---|
protected |
Graph(Calendar timestamp,
int defaultW,
int defaultH) |
protected |
Graph(long timestamp,
int defaultW,
int defaultH) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.jfree.chart.JFreeChart |
createGraph()
Actually render a chart.
|
void |
doMap(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Renders a clickable map.
|
void |
doPng(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Renders a graph.
|
protected Graph(long timestamp,
int defaultW,
int defaultH)
timestamp - Timestamp of this graph. Used for HTTP cache related headers.
If the graph doesn't have any timestamp to tie it to, pass -1.protected Graph(Calendar timestamp, int defaultW, int defaultH)
protected abstract org.jfree.chart.JFreeChart createGraph()
public void doPng(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
IOExceptionpublic void doMap(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
IOExceptionCopyright © 2004-2013 Hudson. All Rights Reserved.