dataset = new CategoryDataset();
plot = new Bar3DPlot();
break;
case LINE_CHART:
dataset = new CategoryDataset();
plot = new LinePlot();
break;
case PIE_CHART:
dataset = new PieDataset();
plot = new PiePlot();
break;
case PIE3D_CHART:
dataset = new PieDataset();
plot = new Pie3DPlot();
break;
case TIMESERIES_CHART:
dataset = new TimeSeriesDataset();
plot = new TimeSeriesPlot();
break;
case XYAREA_CHART:
dataset = new XYDataset();
plot = new AreaPlot();
break;
case XYBAR_CHART:
dataset = new XYDataset();
plot = new BarPlot();
break;
case XYLINE_CHART:
dataset = new XYDataset();
plot = new LinePlot();
break;
case SCATTER_CHART:
dataset = new XYDataset();
plot = new ScatterPlot();
break;