|
@@ -10,13 +10,7 @@ import javax.swing.JButton;
|
|
|
import javax.swing.JDialog;
|
|
|
import javax.swing.JPanel;
|
|
|
|
|
|
-import org.jfree.chart.ChartFactory;
|
|
|
-import org.jfree.chart.ChartPanel;
|
|
|
-import org.jfree.chart.JFreeChart;
|
|
|
-import org.jfree.chart.plot.PlotOrientation;
|
|
|
-import org.jfree.data.xy.XYDataset;
|
|
|
-import org.jfree.data.xy.XYSeries;
|
|
|
-import org.jfree.data.xy.XYSeriesCollection;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* COmpletely unnecessary if not used anymore in the new Version
|
|
@@ -26,9 +20,9 @@ import org.jfree.data.xy.XYSeriesCollection;
|
|
|
public class LineChart extends JDialog {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
- XYSeriesCollection collections = new XYSeriesCollection();
|
|
|
+// XYSeriesCollection collections = new XYSeriesCollection();
|
|
|
|
|
|
- public LineChart(String applicationTitle, String chartTitle) {
|
|
|
+ /*public LineChart(String applicationTitle, String chartTitle) {
|
|
|
JPanel chartPanel = plotStuff(chartTitle);
|
|
|
JPanel bottomPanel = new JPanel();
|
|
|
setTitle(applicationTitle);
|
|
@@ -49,8 +43,8 @@ public class LineChart extends JDialog {
|
|
|
});
|
|
|
bottomPanel.add(close);
|
|
|
}
|
|
|
-
|
|
|
- public JPanel plotStuff(String chartTitle) {
|
|
|
+*/
|
|
|
+/* public JPanel plotStuff(String chartTitle) {
|
|
|
XYDataset dataset = collections;
|
|
|
JFreeChart lineChart = ChartFactory.createXYLineChart(chartTitle, "Iterations", "Global Best", dataset,
|
|
|
PlotOrientation.VERTICAL, false, true, false);
|
|
@@ -66,5 +60,5 @@ public class LineChart extends JDialog {
|
|
|
}
|
|
|
collections.addSeries(series);
|
|
|
}
|
|
|
-
|
|
|
+*/
|
|
|
}
|