final String category1 = "Category 1";// NON-NLS
final String category2 = "Category 2";// NON-NLS
final String category3 = "Category 3";// NON-NLS
final String category4 = "Category 4";// NON-NLS
final String category5 = "Category 5";// NON-NLS
final DefaultCategoryDataset dataset = new DefaultCategoryDataset();
dataset.addValue(1D, series1, category1);
dataset.addValue(5D, series1, category2);
dataset.addValue(4D, series1, category3);
dataset.addValue(8D, series1, category4);
dataset.addValue(7D, series1, category5);
dataset.addValue(3D, series2, category1);
dataset.addValue(4D, series2, category2);
dataset.addValue(3D, series2, category3);
dataset.addValue(5D, series2, category4);
dataset.addValue(4D, series2, category5);
dataset.addValue(1D, series3, category1);
dataset.addValue(3D, series3, category2);
dataset.addValue(2D, series3, category3);
dataset.addValue(3D, series3, category4);
dataset.addValue(2D, series3, category5);
return dataset;
}