chart.addSeries(rainfallSeriesData);
// Configuration of Sealevel series
SplineConfig seaLevelSplineCfg = new SplineConfig();
seaLevelSplineCfg.setColor(new RGB(170, 70, 67));
seaLevelSplineCfg.setMarker(new SymbolMarker(false));
seaLevelSplineCfg.setDashStyle(DashStyle.SHORT_DOT);
// Sealevel series
XYSeries seaLevelSeriesData = new XYSeries("Sea-Level Pressure",
SeriesType.SPLINE, seaLevelSplineCfg);
seaLevelSeriesData.setSeriesPoints(getPoints(seaLevelSeriesData, 1016,