public abstract class AbstractPlotter<T> extends Object
| Constructor and Description |
|---|
AbstractPlotter() |
| Modifier and Type | Method and Description |
|---|---|
protected org.knowm.xchart.XYChart |
baseChart() |
protected void |
encode(org.knowm.xchart.internal.chartpart.Chart<?,?> chart,
File outputFile) |
ChartProperties |
getChartProperties()
Get the chart properties
|
int |
getOutputHeight()
Gets the output height
|
int |
getOutputWidth()
Gets the output width
|
boolean |
isPlotGridLinesVisible()
Checks whether the grid lines are set to visible or not
|
abstract void |
plot(T reportData,
File outputFile) |
protected void |
updateChart(String title,
String seriesName,
String xTitle,
String yTitle) |
protected void |
validateDataSet(List<?> xData,
List<?> yData) |
public int getOutputWidth()
public int getOutputHeight()
public boolean isPlotGridLinesVisible()
public ChartProperties getChartProperties()
protected void validateDataSet(List<?> xData, List<?> yData) throws EmptyDataSet, IncompatibleDataSet
EmptyDataSetIncompatibleDataSetprotected void updateChart(String title, String seriesName, String xTitle, String yTitle)
protected void encode(org.knowm.xchart.internal.chartpart.Chart<?,?> chart,
File outputFile)
protected org.knowm.xchart.XYChart baseChart()
public abstract void plot(T reportData, File outputFile) throws MaestroException
MaestroExceptionThis documentation was released into the public domain.