public class BarChart extends BFAGraph
filter, GRAPH_OTHERS, GRAPH_UNCATEGORIZED, GRAPH_UNKNOWN, graphTitle, MAX_GRAPH_ELEMENTS, MAX_YEARS_FOR_TIME_GRAPH, project
Constructor and Description |
---|
BarChart(long timestamp,
int defaultW,
int defaultH,
Job project,
GraphFilterBuilder filter,
String graphTitle,
boolean byCategories)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.jfree.chart.JFreeChart |
createGraph() |
getBuildNumbers
public BarChart(long timestamp, int defaultW, int defaultH, Job project, GraphFilterBuilder filter, String graphTitle, boolean byCategories)
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 to display failure causesprotected org.jfree.chart.JFreeChart createGraph()
createGraph
in class Graph
Copyright © 2016–2019. All rights reserved.