コード例 #1
0
 public static void DrawPoint(Chart chart, PointData pointOne, PointData pointTwo = null)
 {
     if (chart.Visible)
     {
         pointOne.Get(out var x, out var y);
         chart.Series[1].Points.DataBindXY(x, y);
         if (pointTwo != null)
         {
             pointTwo.Get(out x, out y);
             chart.Series[3].Points.DataBindXY(x, y);
         }
     }
 }