Skip to content
Snippets Groups Projects
Commit f285f57c authored by timmolter's avatar timmolter
Browse files

minor clean up

parent 1d3942b2
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ public class PlotContent implements IChartPart {
}
if (chart.getAxisPair().getXAxis().getAxisType() == AxisType.DATE) {
x = new BigDecimal(((Date) xItr.next()).getTime());
System.out.println(x);
// System.out.println(x);
}
BigDecimal y = new BigDecimal(yItr.next().doubleValue());
......
......@@ -87,9 +87,7 @@ public class SwingWrapper {
// Create and set up the window.
JFrame frame = new JFrame("XChart");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// frame.setSize(new Dimension(charts.get(0).getWidth(), charts.get(0).getHeight()));
JPanel chartPanel = new XChartJPanel(charts.get(0));
// frame.getContentPane().add(chartPanel);
frame.add(chartPanel);
// Display the window.
......@@ -119,7 +117,7 @@ public class SwingWrapper {
for (Chart chart : charts) {
if (chart != null) {
JPanel chartPanel = new XChartJPanel(chart);
frame.getContentPane().add(chartPanel);
frame.add(chartPanel);
} else {
JPanel chartPanel = new JPanel();
frame.getContentPane().add(chartPanel);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment