hudson.plugins.ccm
Class CCMGraph
java.lang.Object
hudson.util.Graph
hudson.plugins.ccm.CCMGraph
public class CCMGraph
- extends hudson.util.Graph
CCM Graph object. It is set in a Stapler Response object to show the
CCM trend graph to the user.
- Since:
- 2.6
- Author:
- Bruno P. Kinoshita - http://www.kinoshita.eti.br
|
Constructor Summary |
CCMGraph(hudson.model.AbstractBuild<?,?> owner,
org.jfree.data.category.CategoryDataset categoryDataset,
java.lang.String yLabel,
java.lang.String xLabel)
Constructs a new styled trend graph for given dataset. |
|
Method Summary |
protected org.jfree.chart.JFreeChart |
createGraph()
Creates CCM trend graph. |
| Methods inherited from class hudson.util.Graph |
doMap, doPng |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CHART_WIDTH
public static final int DEFAULT_CHART_WIDTH
- Default chart width in pixels.
- See Also:
- Constant Field Values
DEFAULT_CHART_HEIGHT
public static final int DEFAULT_CHART_HEIGHT
- Default chart height in pixels.
- See Also:
- Constant Field Values
CCMGraph
public CCMGraph(hudson.model.AbstractBuild<?,?> owner,
org.jfree.data.category.CategoryDataset categoryDataset,
java.lang.String yLabel,
java.lang.String xLabel)
- Constructs a new styled trend graph for given dataset.
- Parameters:
owner - Build which the graph is associated to.categoryDataset - Category data for graph.yLabel - Y label name.xLabel - X label name.chartWidth - Chart width in pixels.chartHeight - Chart height in pixels.
createGraph
protected org.jfree.chart.JFreeChart createGraph()
- Creates CCM trend graph.
- Specified by:
createGraph in class hudson.util.Graph
- Returns:
- the JFreeChart graph object.
Copyright © 2010-2010 the CCM plug-in team-2011. All Rights Reserved.