XYSeries series = new XYSeries("Tokyo", splineCfg);
series.setSeriesPoints(getPoints(series, 7.0, 6.9, 9.5, 14.5, 18.2,
21.5, 25.2));
PointConfig config = new PointConfig(new ImageMarker(
"/graphics/sun.png"));
DecimalPoint highest = new DecimalPoint(series, 26.5, config);
series.addPoint(highest);
series.addPoint(new DecimalPoint(series, 23.3));
series.addPoint(new DecimalPoint(series, 18.3));
series.addPoint(new DecimalPoint(series, 13.9));
series.addPoint(new DecimalPoint(series, 9.6));
chart.addSeries(series);
// Series
splineCfg = new SplineConfig();
splineCfg.setMarker(new SymbolMarker(Symbol.DIAMOND));
series = new XYSeries("London", splineCfg);
config = new PointConfig(new ImageMarker("/graphics/snow.png"));
DecimalPoint lowest = new DecimalPoint(series, 3.9, config);
series.addPoint(lowest);
series.addPoint(new DecimalPoint(series, 4.2));
series.addPoint(new DecimalPoint(series, 5.7));
series.addPoint(new DecimalPoint(series, 8.5));
series.addPoint(new DecimalPoint(series, 11.9));
series.addPoint(new DecimalPoint(series, 15.2));
series.addPoint(new DecimalPoint(series, 17.0));
series.addPoint(new DecimalPoint(series, 16.6));
series.addPoint(new DecimalPoint(series, 14.2));
series.addPoint(new DecimalPoint(series, 10.3));
series.addPoint(new DecimalPoint(series, 6.6));
series.addPoint(new DecimalPoint(series, 4.8));
chart.addSeries(series);
addChart(chart);
}