1 32 33 package it.businesslogic.ireport.chart; 34 35 39 public class PieChart extends Chart { 40 41 42 public PieChart() { 43 44 setName("Pie"); 45 setChartImage(new javax.swing.ImageIcon ( getClass().getResource("/it/businesslogic/ireport/icons/charts/pie_big.png")).getImage()); 46 setDataset( new PieDataset()); 47 setPlot( new PiePlot()); 48 } 49 50 public Chart cloneBaseChart() 51 { 52 return new PieChart(); 53 } 54 55 } 56 | Popular Tags |