Class TimeSeriesPlot
- java.lang.Object
-
- com.hello2morrow.sonargraph.integration.jenkins.model.AbstractPlot
-
- com.hello2morrow.sonargraph.integration.jenkins.model.TimeSeriesPlot
-
public class TimeSeriesPlot extends AbstractPlot
-
-
Field Summary
-
Fields inherited from class com.hello2morrow.sonargraph.integration.jenkins.model.AbstractPlot
DATA_COLOR, m_datasetProvider
-
-
Constructor Summary
Constructors Constructor Description TimeSeriesPlot(IMetricHistoryProvider dataProvider, int markerPosition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyRendering(org.jfree.chart.plot.XYPlot plot)
protected org.jfree.chart.JFreeChart
createChartInternal(String chartTitle, String categoryName, String yAxisName, org.jfree.data.xy.XYDataset dataset)
protected org.jfree.data.xy.XYDataset
createXYDataset(MetricId metric, int maximumNumberOfDataPoints)
Creates a XYDataset from a CSV file.-
Methods inherited from class com.hello2morrow.sonargraph.integration.jenkins.model.AbstractPlot
checkMinMaxYValue, createXYChart, getDatasetSize, getMaximumValue, getMinimumValue, getTimestampOfLastDisplayedPoint, setDataSetSize, setMaximumValue, setMinimumValue, setRangeAxis, setTimestampOfLastDisplayedPoint
-
-
-
-
Constructor Detail
-
TimeSeriesPlot
public TimeSeriesPlot(IMetricHistoryProvider dataProvider, int markerPosition)
-
-
Method Detail
-
createChartInternal
protected org.jfree.chart.JFreeChart createChartInternal(String chartTitle, String categoryName, String yAxisName, org.jfree.data.xy.XYDataset dataset)
- Specified by:
createChartInternal
in classAbstractPlot
-
createXYDataset
protected org.jfree.data.xy.XYDataset createXYDataset(MetricId metric, int maximumNumberOfDataPoints) throws IOException
Creates a XYDataset from a CSV file.- Overrides:
createXYDataset
in classAbstractPlot
- Throws:
IOException
-
applyRendering
protected void applyRendering(org.jfree.chart.plot.XYPlot plot)
- Specified by:
applyRendering
in classAbstractPlot
-
-