Exemplo n.º 1
0
        public void Manually_Graph_Updater()
        {
            if (Enabler_AutoAxis == true)
            {
                P_Graph.plt.AxisAuto();
            }

            P_Graph.Render(skipIfCurrentlyRendering: true, lowQuality: true);
        }
Exemplo n.º 2
0
        private void P_Graph_MouseMove(object sender, MouseEventArgs e)
        {
            if (MouseTracker == true)
            {
                int pixelX = (int)e.MouseDevice.GetPosition(P_Graph).X;
                (double coordinateX, _) = P_Graph.GetMouseCoordinates();

                xLine.position = coordinateX;
                P_Graph.Render(skipIfCurrentlyRendering: true, lowQuality: true);

                if (coordinateX > 0)
                {
                    Mouse_Hover_data((int)coordinateX);
                }
            }
            else
            {
            }
        }