示例#1
0
 public void Update()
 {
     ChartX.Update();
     if (ChartY.Visible)
     {
         ChartY.Update();
     }
 }
示例#2
0
 public void Hide()
 {
     if (Visible)
     {
         ChartX.Hide();
         ChartY.Hide();
         Visible = false;
     }
 }
示例#3
0
 public void SetCombined()
 {
     if (!Combined)
     {
         ChartY.Hide();
         Combined = true;
         ChartX.Titles[0].Text = Title;
     }
 }
示例#4
0
 private void Clear()
 {
     ChartX.Clear();
     ChartY.Clear();
     ChartZ.Clear();
     model.Clear();
     SetColors();
     startTime = null;
 }
示例#5
0
        public void Show()
        {
            if (!Visible)
            {
                ChartX.Show();

                if (!Combined)
                {
                    ChartY.Show();
                }

                Visible = true;
            }
        }
示例#6
0
        public void SetSeparate()
        {
            if (Combined)
            {
                if (Visible)
                {
                    ChartY.Show();
                }

                ChartX.Titles[0].Text = SetComponentTitle(Constants.XComponent);
                ChartY.Titles[0].Text = SetComponentTitle(Constants.YComponent);

                Combined = false;
            }
        }
示例#7
0
 private void StartStopCharts()
 {
     if (!paused)
     {
         ChartX.Start();
         ChartY.Start();
         ChartZ.Start();
     }
     else
     {
         ChartX.Stop();
         ChartY.Stop();
         ChartZ.Stop();
     }
 }