public class radar extends pspdash.CGIChartBase {
/** Create a radar chart. */
public JFreeChart createChart() {
CategoryDataset catData = data.catDataSource();
PieDataset pieData = null;
if (catData.getRowCount() == 1)
pieData = DatasetUtilities.createPieDatasetForRow(catData, 0);
else
pieData = DatasetUtilities.createPieDatasetForColumn(catData, 0);
RadarPlot plot = new RadarPlot(pieData);