foreach (DataPoint series in chart.Series["T1"].Points)
{
foreach (DataPoint item in chart.Series["T2"].Points)
{
for (int j = 1; j < series.YValues.Length; j++)
{
for (int i = 1; i < item.YValues.Length; i++)
{
if (series.YValues == item.YValues)
{
//some code
}
}
}
}
}
答案 0 :(得分:0)
您可以使用Linq
var intersectionPoints = chart.Series["T1"].Points.Intersect(chart.Series["T2"].Points);