public class BuildNbrStackedBarChart extends StackedBarChart
NO_FAILURE
filter, GRAPH_OTHERS, GRAPH_UNCATEGORIZED, GRAPH_UNKNOWN, graphTitle, MAX_GRAPH_ELEMENTS, MAX_YEARS_FOR_TIME_GRAPH, project
Modifier | Constructor and Description |
---|---|
protected |
BuildNbrStackedBarChart(long timestamp,
int defaultW,
int defaultH,
Job project,
GraphFilterBuilder filter,
int nbrOfBuildsToShow,
String graphTitle)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.jfree.data.category.DefaultCategoryDataset |
createDataset()
Creates the dataset needed for this graph.
|
protected String |
getTitle()
Getter for the graph title.
|
protected String |
getXAxisTitle()
Getter for the X-axis title.
|
protected String |
getYAxisTitle()
Getter for the Y-axis title.
|
createGraph
getBuildNumbers
protected BuildNbrStackedBarChart(long timestamp, int defaultW, int defaultH, Job project, GraphFilterBuilder filter, int nbrOfBuildsToShow, String graphTitle)
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 graphprotected org.jfree.data.category.DefaultCategoryDataset createDataset()
createDataset
in class StackedBarChart
protected String getTitle()
StackedBarChart
getTitle
in class StackedBarChart
protected String getYAxisTitle()
StackedBarChart
getYAxisTitle
in class StackedBarChart
protected String getXAxisTitle()
StackedBarChart
getXAxisTitle
in class StackedBarChart
Copyright © 2016–2019. All rights reserved.