com.sonyericsson.jenkins.plugins.bfa.graphs
Class PieChart
java.lang.Object
hudson.util.Graph
com.sonyericsson.jenkins.plugins.bfa.graphs.BFAGraph
com.sonyericsson.jenkins.plugins.bfa.graphs.PieChart
public class PieChart
- extends BFAGraph
Pie chart displaying the distribution of failure causes for a project.
- Author:
- Fredrik Persson <fredrik6.persson@sonymobile.com>
Constructor Summary |
PieChart(long timestamp,
int defaultW,
int defaultH,
hudson.model.AbstractProject project,
GraphFilterBuilder filter,
String graphTitle,
boolean byCategories)
Default constructor. |
Method Summary |
protected org.jfree.chart.JFreeChart |
createGraph()
|
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 |
PieChart
public PieChart(long timestamp,
int defaultW,
int defaultH,
hudson.model.AbstractProject project,
GraphFilterBuilder filter,
String graphTitle,
boolean byCategories)
- Default constructor.
- Parameters:
timestamp
- timestamp for this project graph, used for HTTP caching. Set to -1 if timestamp is not needed.defaultW
- width of the graph in pixelsdefaultH
- height of the graph in pixelsproject
- the parent project of this graphfilter
- the filter used when fetching data for this graphgraphTitle
- The title of the graphbyCategories
- True to display categories, or false for failure causes
createGraph
protected org.jfree.chart.JFreeChart createGraph()
- Specified by:
createGraph
in class hudson.util.Graph
Copyright © 2004-2014. All Rights Reserved.