WFA_psychometric_chart.Form1_main.ReDrawPointsForXML C# (CSharp) Method

ReDrawPointsForXML() public method

public ReDrawPointsForXML ( System.Windows.Forms.DataVisualization.Charting.Series s1, double x, double y, Color c, string source1, string name1, string label1x, string labelValueText ) : void
s1 System.Windows.Forms.DataVisualization.Charting.Series
x double
y double
c Color
source1 string
name1 string
label1x string
labelValueText string
return void
        public void ReDrawPointsForXML(Series s1, double x, double y, Color c, string source1, string name1, string label1x, string labelValueText)
        {

            //s1.ChartType = SeriesChartType.Point;
            string s = "source : " + source1 + "\n Name : " + name1 + "\nLable : " + label1x + "\nindex=" + incrementIndex;
            s1.ChartType = SeriesChartType.Point;
            s1.MarkerSize = 20;//marker_size_value;//= 20;
            s1.MarkerStyle = MarkerStyle.Circle;

            s1.Points.AddXY(x, y);

            chart1.Series["My Series"].Points[incrementIndex].ToolTip = s;
            chart1.Series["My Series"].Points[incrementIndex].Label = labelValueText;
            // s1.Points[indexForSeriesNodePoint].Color = c;
            chart1.Series["My Series"].Points[incrementIndex].Color = c;
            s1.Points[incrementIndex].MarkerStyle = MarkerStyle.Circle;
            s1.Points[incrementIndex].Color = c;
            // chart1.Series["My Series"].Points[indexForSeriesNodePoint].MarkerColor = c;
        }
Form1_main