com.sonyericsson.jenkins.plugins.bfa.graphs
Class BuildNbrStackedBarChart
java.lang.Object
hudson.util.Graph
com.sonyericsson.jenkins.plugins.bfa.graphs.BFAGraph
com.sonyericsson.jenkins.plugins.bfa.graphs.StackedBarChart
com.sonyericsson.jenkins.plugins.bfa.graphs.BuildNbrStackedBarChart
public class BuildNbrStackedBarChart
- extends StackedBarChart
Stacked bar chart displaying the number of different failure causes for every build number.
- Author:
- Fredrik Persson <fredrik6.persson@sonymobile.com>, Christoffer Lauri <christoffer.lauri@sonymobile.com>
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 |
BuildNbrStackedBarChart
protected BuildNbrStackedBarChart(long timestamp,
int defaultW,
int defaultH,
hudson.model.AbstractProject project,
GraphFilterBuilder filter,
int nbrOfBuildsToShow,
String graphTitle)
- Default constructor.
- Parameters:
timestamp
- timestamp for this project graph, used for HTTP caching. Set to -1 if timestamp is not neededdefaultW
- width of the graph in pixelsdefaultH
- height of the graph in pixelsproject
- the parent project of this graph, set to null for non-project graphsfilter
- the filter used when fetching data for this graphnbrOfBuildsToShow
- maximum number of builds to showgraphTitle
- The title of the graph
createDataset
protected org.jfree.data.category.DefaultCategoryDataset createDataset()
- Creates the dataset needed for this graph.
- Specified by:
createDataset
in class StackedBarChart
- Returns:
- dataset
getTitle
protected String getTitle()
- Description copied from class:
StackedBarChart
- Getter for the graph title.
- Specified by:
getTitle
in class StackedBarChart
- Returns:
- graph title
getYAxisTitle
protected String getYAxisTitle()
- Description copied from class:
StackedBarChart
- Getter for the Y-axis title.
- Specified by:
getYAxisTitle
in class StackedBarChart
- Returns:
- title for the Y-axis
getXAxisTitle
protected String getXAxisTitle()
- Description copied from class:
StackedBarChart
- Getter for the X-axis title.
- Specified by:
getXAxisTitle
in class StackedBarChart
- Returns:
- title for the X-axis
Copyright © 2004-2014. All Rights Reserved.