PeakDataSet peakDataSet = (PeakDataSet) dataset;
PeakDataPoint dataPoint = peakDataSet.getDataPoint(series, item);
PeakList peakList = peakDataSet.getPeakList();
ChromatographicPeak peak = peakDataSet.getPeak(series);
PeakListRow row = peakList.getPeakRow(peak);
double rtValue = dataPoint.getRT();
double intValue = dataPoint.getIntensity();
double mzValue = dataPoint.getMZ();
int scanNumber = dataPoint.getScanNumber();
String toolTip = "Peak: " + peak + "\nStatus: " + peak.getPeakStatus()
+ "\nPeak list row: " + row + "\nScan #" + scanNumber
+ "\nRetention time: " + rtFormat.format(rtValue) + "\nm/z: "
+ mzFormat.format(mzValue) + "\nIntensity: "
+ intensityFormat.format(intValue);