WFA_psychometric_chart.Form1_main.IndicatorLineForNodeMovement C# (CSharp) Method

IndicatorLineForNodeMovement() private method

private IndicatorLineForNodeMovement ( int idSelected, double x11, double y11, double x22, double y22 ) : void
idSelected int
x11 double
y11 double
x22 double
y22 double
return void
        private void IndicatorLineForNodeMovement(int idSelected, double x11, double y11, double x22, double y22)
        {
            //--This function basically reorders the chart controls when the alter key is pressed.
            //--To use this function we need to clear the seriesLineIndicator every time we call it...

            double x1 = x11;
            double y1 = y11;
            double x2 = x22;
            double y2 = y22;


            seriesLineIndicator.ChartType = SeriesChartType.FastLine;
            seriesLineIndicator.MarkerSize = 10;
            seriesLineIndicator.MarkerColor = Color.FromArgb(0, 255, 0);//--Light blue color....
            //seriesLineIndicator.BorderWidth = 3;
            //seriesLineIndicator.BorderDashStyle = ChartDashStyle.Dash;


            seriesLineIndicator.Points.Add(x1, y1);
            seriesLineIndicator.Points.Add(x2, y2);


        }
Form1_main