Example #1
0
        private void BindCharts()
        {
            BindSeries();

            FirstSignalChartValues.Clear();
            SecondSignalChartValues.Clear();
            FinalSignalChartValues.Clear();


            foreach (var item in FirstSignal)
            {
                FirstSignalChartValues.Add(new ObservablePoint(item.Key, item.Value));
            }

            foreach (var item in SecondSignal)
            {
                SecondSignalChartValues.Add(new ObservablePoint(item.Key, item.Value));
            }

            OuputString = "";

            foreach (var item in FinalSignal)
            {
                FinalSignalChartValues.Add(new ObservablePoint(item.Key, item.Value));
                OuputString += $"{item.Key};{item.Value:f1} ";
            }
        }
 private void Reset()
 {
     FirstSignalChartValues.Clear();
     SecondSignalChartValues.Clear();
     FinalSignalChartValues.Clear();
 }