WFA_psychometric_chart.Form_handler.ReDrawPoints C# (CSharp) 메소드

ReDrawPoints() 공개 메소드

public ReDrawPoints ( 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
리턴 void
        public void ReDrawPoints(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;
            s1.ChartType = SeriesChartType.Point;
            s1.MarkerSize = 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[incrementIndex].Color = c;
        }