public SpectrumSelectionView(IXYData xyData)
        {
            InitializeComponent();

            graphView.LoadGraph("m/z", "Spectrum", xyData.XValues, xyData.YValues);
            listView.ItemsSource = xyData.GetXYPairs();
        }
        public XicSelectionView(IXYData xyData)
        {
            InitializeComponent();

            graphView.LoadGraph("Time", "XIC", xyData.XValues, xyData.YValues);
            listView.ItemsSource = xyData.GetXYPairs();
        }