Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public PieChartSyahrul() {
- this.setSize(600, 400);
- this.setTitle("Diagram PIE SYAHRUL");
- this.setLocationRelativeTo(null);
- this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- PieDataset dataset = buildData();
- JFreeChart chart = buildChart(dataset, "Game yang Sering Dimainkan");
- ChartPanel pieChart = new ChartPanel(chart);
- this.setContentPane(pieChart);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement