.createTimeseriesChart(ds, chartWidth, chartHeight);
chartPanel.setReadyListener(new ViewReadyCallback() {
public void onViewReady(final View view) {
final Marker m = new Marker(
ds[0].getDomainExtrema().midpoint(), "A", 0);
m.addOverlayClickListener(new OverlayClickListener() {
public void onOverlayClick(Overlay overlay, int x, int y) {
m.openInfoWindow("Hello");
}
});
view.getChart().getPlot().addOverlay(m);