public abstract class Plot extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Plot.ColoredDataSet
dataset + paintSequence
|
| Modifier and Type | Field and Description |
|---|---|
protected org.jfree.chart.JFreeChart |
chart |
protected org.jfree.chart.ChartPanel |
chartPanel |
protected Plot.ColoredDataSet |
dataset |
boolean |
debug |
protected JFrame |
frame |
protected static Logger |
LOGGER |
protected String |
title |
| Constructor and Description |
|---|
Plot() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.jfree.data.time.TimeSeries series,
Date ts,
Double value)
add a value to the given time series
|
abstract Plot.ColoredDataSet |
createDataset() |
org.jfree.chart.JFreeChart |
getChart()
get the Chart
|
org.jfree.chart.ChartPanel |
getPanel()
get the Panel
|
void |
saveAsPng(File file,
int width,
int height)
save me as a png file
|
JFrame |
show()
show me
|
void |
waitClose()
wait for close
|
void |
waitVisible() |
protected static Logger LOGGER
public final boolean debug
protected String title
protected JFrame frame
protected Plot.ColoredDataSet dataset
protected org.jfree.chart.JFreeChart chart
protected org.jfree.chart.ChartPanel chartPanel
public org.jfree.chart.JFreeChart getChart()
public abstract Plot.ColoredDataSet createDataset()
public void add(org.jfree.data.time.TimeSeries series,
Date ts,
Double value)
series - ts - value - public org.jfree.chart.ChartPanel getPanel()
public JFrame show()
public void waitVisible()
throws InterruptedException
InterruptedExceptionpublic void waitClose()
throws InterruptedException
InterruptedExceptionCopyright © 2018 BITPlan GmbH. All rights reserved.