Beispiel #1
0
        //绘制通道8
        public void DrawChannelEight()
        {
            graphChannelEight = DynamicChart.AddLineGraph(DataSourceChannelEight, Colors.Red, 2, "通道8");

            for (int i = 0; i < rowsCount; i++)
            {
                System.Windows.Point point = new System.Windows.Point(Count[i], ValueChannelEight[i]);
                DataSourceChannelEight.AppendAsync(base.Dispatcher, point);
            }
        }
Beispiel #2
0
        //绘制通道7
        public void DrawChannelSeven()
        {
            graphChannelSeven = DynamicChart.AddLineGraph(DataSourceChannelSeven, Colors.Purple, 2, "通道7");

            for (int i = 0; i < rowsCount; i++)
            {
                System.Windows.Point point = new System.Windows.Point(Count[i], ValueChannelSeven[i]);
                DataSourceChannelSeven.AppendAsync(base.Dispatcher, point);
            }
        }
Beispiel #3
0
        //绘制通道3
        public void DrawChannelThree()
        {
            graphChannelThree = DynamicChart.AddLineGraph(DataSourceChannelThree, Colors.Yellow, 2, "通道3");

            for (int i = 0; i < rowsCount; i++)
            {
                System.Windows.Point point = new System.Windows.Point(Count[i], ValueChannelThree[i]);
                DataSourceChannelThree.AppendAsync(base.Dispatcher, point);
            }
        }
Beispiel #4
0
        //绘制通道6
        public void DrawChannelSix()
        {
            graphChannelSix = DynamicChart.AddLineGraph(DataSourceChannelSix, Colors.Orange, 2, "通道6");

            for (int i = 0; i < rowsCount; i++)
            {
                System.Windows.Point point = new System.Windows.Point(Count[i], ValueChannelSix[i]);
                DataSourceChannelSix.AppendAsync(base.Dispatcher, point);
            }
        }
Beispiel #5
0
        //绘制通道2
        public void DrawChannelTwo()
        {
            graphChannelTwo = DynamicChart.AddLineGraph(DataSourceChannelTwo, Colors.Indigo, 2, "通道2");

            for (int i = 0; i < rowsCount; i++)
            {
                System.Windows.Point point = new System.Windows.Point(Count[i], ValueChannelTwo[i]);
                DataSourceChannelTwo.AppendAsync(base.Dispatcher, point);
            }
        }