if i have a my Jpanel and a my JFreeChart. How can I add this Chart in to the JPanel?
XYSeries series = new XYSeries(\"XYGraph\"); series.add(1, 1); se
From an old java forums thread
JPanel jPanel1 = new JPanel(); jPanel1.setLayout(new java.awt.BorderLayout()); .. ChartPanel CP = new ChartPanel(chart); .. jPanel1.add(CP,BorderLayout.CENTER); jPanel1.validate();