* Creates a sample dataset.
*
* @return A dataset.
*/
private static MultiValueCategoryDataset createDataset() {
DefaultMultiValueCategoryDataset dataset
= new DefaultMultiValueCategoryDataset();
dataset.add(listOfValues(new double[] { 1.0, 2.0, 3.0 }), "Series 1",
"C1");
dataset.add(listOfValues(new double[] { 1.2, 2.2, 3.2 }), "Series 1",
"C2");
dataset.add(listOfValues(new double[] { 1.4, 2.4, 3.4 }), "Series 1",
"C3");
dataset.add(listOfValues(new double[] { 1.0, 2.1, 3.2 }), "Series 1",
"C1");
dataset.add(listOfValues(new double[] { 1.2, 2.15, 3.5 }), "Series 1",
"C2");
dataset.add(listOfValues(new double[] { 1.4, 2.5, 3.2 }), "Series 1",
"C3");
dataset.add(listOfValues(new double[] { 1.4, 3.0, 3.2 }), "Series 1",
"C3");
dataset.add(listOfValues(new double[] { 1.4, 3.0 }), "Series 2", "C1");
dataset.add(listOfValues(new double[] { 1.0, 3.0 }), "Series 2", "C1");
dataset.add(listOfValues(new double[] { 1.2, 3.2 }), "Series 2", "C2");
dataset.add(listOfValues(new double[] { 1.4, 3.6 }), "Series 2", "C3");
dataset.add(listOfValues(new double[] { 1.2, 3.1 }), "Series 2", "C1");
dataset.add(listOfValues(new double[] { 1.4, 3.4 }), "Series 2", "C2");
dataset.add(listOfValues(new double[] { 1.5, 3.6 }), "Series 2", "C3");
return dataset;
}