XYDataset dataset2 = createDataset("Mail", 1000.0, new Day(), 170);
plot.setDataset(1, dataset2);
plot.mapDatasetToRangeAxis(1, 1);
XYItemRenderer renderer2 = new StandardXYItemRenderer();
renderer2.setSeriesPaint(0, Color.red);
plot.setRenderer(1, renderer2);
// Sms
NumberAxis axis3 = new NumberAxis("Scala Sms");
axis3.setLabelPaint(Color.blue);
axis3.setTickLabelPaint(Color.blue);
plot.setRangeAxis(2, axis3);
XYDataset dataset3 = createDataset("Sms", 10000.0, new Day(), 170);
plot.setDataset(2, dataset3);
plot.mapDatasetToRangeAxis(2, 2);
XYItemRenderer renderer3 = new StandardXYItemRenderer();
renderer3.setSeriesPaint(0, Color.blue);
plot.setRenderer(2, renderer3);
return chart;
}