From 00603bd9dbfd8cdd25277e2cd96be45e48d88fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Mon, 28 Jun 2021 17:22:55 +0200 Subject: [PATCH] Use the channel name for labels and tooltips. --- .../chemclipse/ux/extension/xxd/ui/swt/ExtendedWellChartUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.xxd.ui/src/org/eclipse/chemclipse/ux/extension/xxd/ui/swt/ExtendedWellChartUI.java b/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.xxd.ui/src/org/eclipse/chemclipse/ux/extension/xxd/ui/swt/ExtendedWellChartUI.java index fccdec88c8..3eff766979 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.xxd.ui/src/org/eclipse/chemclipse/ux/extension/xxd/ui/swt/ExtendedWellChartUI.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.xxd.ui/src/org/eclipse/chemclipse/ux/extension/xxd/ui/swt/ExtendedWellChartUI.java @@ -300,7 +300,7 @@ private ILineSeriesData getChannelCurve(IChannel channel, Color color) { for(int index = 0; index < pointList.size(); index++) { points[index] = pointList.get(index); } - ISeriesData seriesData = new SeriesData(points, "Channel " + channel.getId()); + ISeriesData seriesData = new SeriesData(points, channel.getDetectionName()); lineSeriesData = new LineSeriesData(seriesData); ILineSeriesSettings lineSeriesSettings = lineSeriesData.getSettings(); lineSeriesSettings.setLineColor(color);