图表在Y轴上画一条线

时间:2019-11-06 20:53:51

标签: c# mysql mschart

我有一个范围图,我需要一直沿Y轴在8和10处画一条直线。

我的代码示例:

this.CrtPerformance.Series["Range"].Points.AddXY(myReader.GetString("loginid"),
  myReader.GetDecimal("FormulaBOTTOM"), myReader.GetDecimal("FormulaTOP"));
this.CrtPerformance.Series["Top Line"].Points.AddY(10);
this.CrtPerformance.Series["Bottom Line"].Points.AddY(8);

,但是直线不会从左边界到右边界留出空格;修复它的最佳方法是什么?

enter image description here

0 个答案:

没有答案
相关问题