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

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

                Visible = true;
            }
        }
Beispiel #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;
            }
        }
Beispiel #7
0
 private void StartStopCharts()
 {
     if (!paused)
     {
         ChartX.Start();
         ChartY.Start();
         ChartZ.Start();
     }
     else
     {
         ChartX.Stop();
         ChartY.Stop();
         ChartZ.Stop();
     }
 }