private void Chart1_MouseClick(object sender, MouseEventArgs e)
{
HitTestResult hit = Chart1.HitTest(e.X, e.Y);
if (hit.Series != null)
{
var xValue = hit.Series.Points[hit.PointIndex].XValue;
var yValue = hit.Series.Points[hit.PointIndex].YValues.First();
textBox5.Text = string.Format("{0:F0},{1:F0}", "x:" + xValue, "y:" + yValue);//textbox5也是自己建的一个专门用来显示的内容框,也可以用messagebox直接弹出内容
}
else
{
textBox5.Text = "未点击到波形曲线";
}
}
SQLiteDataAdapter mAdapter = new SQLiteDataAdapter("delect Volume1,Volume2 from 曲线 where ? order by Volume1 ", m);
上面程序是显示所点中的点,但现在我想删除点中的点(Volume1是x值的数据列,Volume2是y值的数据列),我应该在where那怎么表达