Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法不在图形窗格中显示对象,如下图所示?
我GraphPane.AddCurve()用来添加曲线和GraphPane.GraphObjList.Add(new TextObj(...))添加文本。
GraphPane.AddCurve()
GraphPane.GraphObjList.Add(new TextObj(...))
为了做到这一点,我认为您必须创建一个新的 TextObj 以便您可以修改“IsClippedToChartRect”属性。
ZedGraph.TextObj text = new ZedGraph.TextObj("Hello", xloc, yloc); text.IsClippedToChartRect = true;