4,817
社区成员
发帖
与我相关
我的任务
分享
Chart1.Series[2].MarkerStyle = MarkerStyle.Circle;
Chart1.Series[2].MarkerColor = System.Drawing.Color.Red;
Chart1.Series[2].MarkerBorderColor = System.Drawing.Color.Black;
Chart1.Series[2].MarkerBorderWidth = 1;
Chart1.Series[2].MarkerSize = 5;
for (int i = 0; i < Chart1.Series[2].Points.Count; i++)
{
if (Convert.ToInt16(Chart1.Series[2].Points[i].YValues[0]) == 0)
{
Chart1.Series[2].Points[i].MarkerStyle = MarkerStyle.Circle;
Chart1.Series[2].Points[i].MarkerColor = System.Drawing.Color.Red;
Chart1.Series[2].Points[i].MarkerBorderColor = System.Drawing.Color.Black;
Chart1.Series[2].Points[i].MarkerBorderWidth = 1;
Chart1.Series[2].Points[i].MarkerSize = 5;
}
}