String msg = "";
// set the crosshair value for the horizontal axis...
ValueAxis da = plot.getDomainAxis();
if (da != null) {
double hvalue = da.translateJava2DToValue(x, info.getDataArea(),plot.getDomainAxisEdge());
plot.setDomainCrosshairValue(hvalue,false);
String label = da.getLabel();
if ((label!=null) && (!label.equals(""))) msg += label;
else msg+= resources.getString("X");
msg += "=" + AxisLabelFormatter.labelFormat(hvalue);