XYPlot plot = cp.getChart().getPlot();
double x = plot.getDatasets().get(datasetIndex).getX(pointIndex);
Tuple2D tuple = plot.getDatasets().get(datasetIndex)
.getFlyweightTuple(pointIndex);
double y = tuple.getRange0();
currentInfoWindow = plot.openInfoWindow(html, x, y, datasetIndex);
currentInfoWindow
.addInfoWindowClosedHandler(new InfoWindowClosedHandler() {
public void onInfoWindowClosed(InfoWindowEvent event) {
currentInfoWindow = null;
}