}
}
// Update series with new points
detailChartSeries.setSeriesPoints(detailPoints);
detailChart.addSeries(detailChartSeries);
detailChart.refresh();
// Update plotbands
DateTimeAxis masterDateTimeAxis = (DateTimeAxis) masterChart
.getConfig().getXAxes().iterator().next();
masterDateTimeAxis.removePlotBand("mask-before");
DateTimePlotBand plotBandBefore = new DateTimePlotBand(