public class AverageDurationLineChart extends AbstractTimePeriodGroupedChart implements org.jfree.chart.labels.XYToolTipGenerator
AbstractBambooChart.AutoRange, AbstractBambooChart.NotifyListeners
DAY, MONTH, WEEK, YEAR
chartTitle, contextPath, height, shortUrlUsed, width, xAxisLabel, yAxisLabel
Constructor and Description |
---|
AverageDurationLineChart(int height,
int width,
String periodRange,
List<? extends ResultStatisticsProvider> filteredResults,
@NotNull com.atlassian.core.i18n.I18nTextProvider i18n) |
Modifier and Type | Method and Description |
---|---|
protected TimePeriodCollater |
createNewPeriod(Date buildDate,
ResultStatisticsProvider result,
String seriesName) |
Map<String,Object> |
generateChartParams() |
String |
generateToolTip(org.jfree.data.xy.XYDataset xyDataset,
int series,
int item) |
org.jfree.chart.JFreeChart |
getChart() |
protected void |
writeCounterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset,
TimePeriodCollater counter) |
getAllPeriodsBetweenDates, getPeriod, getPeriodRange, isInPeriod, populateDataSet
configureDurationRangeAxis, configureDurationRangeAxis, configureDurationRangeAxisForSeconds, generateChartImage, generateChartImage, generateRandomMapName, getChartTitle, getContextPath, getHeight, getWidth, getxAxisLabel, getyAxisLabel, isShortUrlUsed, setChartTitle, setContextPath, setHeight, setShortUrlUsed, setWidth, setxAxisLabel, setyAxisLabel
public AverageDurationLineChart(int height, int width, String periodRange, List<? extends ResultStatisticsProvider> filteredResults, @NotNull @NotNull com.atlassian.core.i18n.I18nTextProvider i18n)
public Map<String,Object> generateChartParams()
generateChartParams
in interface ChartBuilder
public org.jfree.chart.JFreeChart getChart()
public String generateToolTip(org.jfree.data.xy.XYDataset xyDataset, int series, int item)
generateToolTip
in interface org.jfree.chart.labels.XYToolTipGenerator
protected TimePeriodCollater createNewPeriod(Date buildDate, ResultStatisticsProvider result, String seriesName)
createNewPeriod
in class AbstractTimePeriodGroupedChart
protected void writeCounterToDataSet(org.jfree.data.time.TimeTableXYDataset dataset, TimePeriodCollater counter)
writeCounterToDataSet
in class AbstractTimePeriodGroupedChart
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.