我正在使用msCharts。
我绘制了一条x轴点在38000和42000之间的线。
我正在尝试添加StripLIne。我没有错,但看不到它:
StripLine stripLine = new StripLine();
stripLine.Text = "Strip";
stripLine.Interval = 0;
stripLine.IntervalOffset = 41000;
stripLine.StripWidth = 500;
stripLine.BackColor = Color.Red;
chart.ChartAreas[0].AxisX.StripLines.Add(stripLine);
有什么问题?