diff --git a/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.xxd.ui/src/org/eclipse/chemclipse/ux/extension/xxd/ui/swt/ExtendedChromatogramOverlayUI.java b/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.xxd.ui/src/org/eclipse/chemclipse/ux/extension/xxd/ui/swt/ExtendedChromatogramOverlayUI.java index 8719f0a3c3..8d1b0182de 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.xxd.ui/src/org/eclipse/chemclipse/ux/extension/xxd/ui/swt/ExtendedChromatogramOverlayUI.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.ux.extension.xxd.ui/src/org/eclipse/chemclipse/ux/extension/xxd/ui/swt/ExtendedChromatogramOverlayUI.java @@ -936,14 +936,14 @@ private void appendXXC(Set availableSeriesIds, List selectionSer String referenceChromatogramName = chromatogramName + ChromatogramChartSupport.REFERENCE_MARKER + j++; String referenceSeriesId = referenceChromatogramName + OverlayChartSupport.OVERLAY_START_MARKER + displayType + OverlayChartSupport.DELIMITER_SIGNAL_DERIVATIVE + derivative + OverlayChartSupport.OVERLAY_STOP_MARKER; availableSeriesIds.add(referenceSeriesId); - selectionSeries.add(seriesId); + selectionSeries.add(referenceSeriesId); if(!baseChart.isSeriesContained(referenceSeriesId)) { color = chromatogramChartSupport.getSeriesColor(referenceChromatogramName, displayType); ILineSeriesData lineSeriesData = chromatogramChartSupport.getLineSeriesData(referencedChromatogram, referenceSeriesId, displayType, derivative, color, markedIons, false); ILineSeriesSettings lineSeriesSettings = lineSeriesData.getSettings(); lineSeriesSettings.setDescription(description); - ISeriesSettings seriesSettingsDefault = SeriesMapper.getSeriesSettingsDefault(seriesId, chartControl.get()); - SeriesMapper.mapSetting(seriesId, lineSeriesSettings, seriesSettingsDefault); + ISeriesSettings seriesSettingsDefault = SeriesMapper.getSeriesSettingsDefault(referenceSeriesId, chartControl.get()); + SeriesMapper.mapSetting(referenceSeriesId, lineSeriesSettings, seriesSettingsDefault); lineSeriesDataList.add(lineSeriesData); } } @@ -1047,8 +1047,8 @@ private void appendTIC(Set availableSeriesIds, List selectionSer ILineSeriesData lineSeriesData = chromatogramChartSupport.getLineSeriesData(referencedChromatogram, referenceSeriesId, displayType, derivative, color, null, false); ILineSeriesSettings lineSeriesSettings = lineSeriesData.getSettings(); lineSeriesSettings.setDescription(description); - ISeriesSettings seriesSettingsDefault = SeriesMapper.getSeriesSettingsDefault(seriesId, chartControl.get()); - SeriesMapper.mapSetting(seriesId, lineSeriesSettings, seriesSettingsDefault); + ISeriesSettings seriesSettingsDefault = SeriesMapper.getSeriesSettingsDefault(referenceSeriesId, chartControl.get()); + SeriesMapper.mapSetting(referenceSeriesId, lineSeriesSettings, seriesSettingsDefault); lineSeriesDataList.add(lineSeriesData); } }