public class TimeSeriesChart extends BFAGraph
Modifier and Type | Field and Description |
---|---|
protected int |
intervalSize
Time interval size, should be set to Calendar.HOUR_OF_DAY, Calendar.DATE or
Calendar.MONTH.
|
filter, GRAPH_OTHERS, GRAPH_UNCATEGORIZED, GRAPH_UNKNOWN, graphTitle, MAX_GRAPH_ELEMENTS, MAX_YEARS_FOR_TIME_GRAPH, project
Constructor and Description |
---|
TimeSeriesChart(long timestamp,
int defaultW,
int defaultH,
Job project,
GraphFilterBuilder filter,
int intervalSize,
boolean groupByCategories,
String graphTitle)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.jfree.chart.JFreeChart |
createGraph() |
protected Calendar |
getLowerGraphBound()
Gets lower graph bound (minimum x-value), which depends on the intervalSize.
|
getBuildNumbers
protected int intervalSize
public TimeSeriesChart(long timestamp, int defaultW, int defaultH, Job project, GraphFilterBuilder filter, int intervalSize, boolean groupByCategories, String graphTitle)
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 graph, set to null for non-project graphsfilter
- the filter used when fetching data for this graphintervalSize
- the interval sizes in which the data is groupedgroupByCategories
- set to true in order to group failure causes by their categoriesgraphTitle
- The title of the graphprotected org.jfree.chart.JFreeChart createGraph()
createGraph
in class Graph
protected Calendar getLowerGraphBound()
Copyright © 2016–2019. All rights reserved.