private GUIUtils(String title, DataSequence orig, DataSequence predicted, ArrayList<Anomaly> anomalyList, Properties config) { super(title); this.config = config; final JFreeChart chart = createCombinedChart(orig, predicted, anomalyList); final ChartPanel panel = new ChartPanel(chart, true, true, true, false, true); panel.setPreferredSize(new java.awt.Dimension(1440, 900)); setContentPane(panel); }