为什么我看不到这条带线?

时间:2016-06-15 15:10:08

标签: c# charts

我正在使用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);

有什么问题?

0 个答案:

没有答案