上传者: leewench
|
上传时间: 2019-12-21 18:51:06
|
文件大小: 1KB
|
文件类型: txt
雷达屏幕P显C#实现简例
chart1.Series["Series1"].Points.Clear();
chart1.Series["Series2"].Points.Clear();
yValues0[0] = (double)00.0;
yValues0[1] = 1000;
yValues0[2] = (double)0.0;
xValues0[0] = (double)m;
xValues0[1] = (double)m;
xValues0[2] = (double)m;
chart1.Series["Series1"].Points.DataBindXY(xValues0, yValues0);
if (m < 360) //扫描一圈
{
xValues[m] = (double)m;
yValues[m] = (ggg.NextDouble()) * 800;
chart1.Series["Series2"].Points.DataBindXY(xValues, yValues);
}