That probably wouldn't work, because the actual data point is only calculated after a plot object is found.
So, to do the coordinate conversion you will need to do something like this, using the coordinate system you used for your plot objects.
class CustomToolTip extends DataToolTip {
public CustomToolTip(ChartView component) {
super(component);
}
public void mousePressed(MouseEvent event) {
super.mousePressed(event);
if (this.getSelectedDataset() == null)
{
ChartPoint2D mousepos = new ChartPoint2D();
mousepos.setLocation(event.getX(), event.getY());
ChartPoint2D xvalue = pTransform1.convertCoord(ChartConstants.PHYS_POS,mousepos ,
ChartConstants.DEV_POS);
GregorianCalendar timevalue = xvalue.getCalendarX();
}
}
}