本文介绍了如何在Zed图形窗格中获取最大坐标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我想在将图分为两部分的窗格中写这行.我已经知道执行此操作的方法.线的起点和终点之间的坐标是必需的.我在图形中找不到如何获得Y轴的最大坐标(xxxxxx).这是我的代码段.
Hi all,
I would like to write the line in the pane that divide graph into two parts. I already knew the method to do this. The coordinates between the start and end of the line are required. I could not find how to get the maximum coordinate (xxxxxx)of Y axis in my graph. Here is my code snippet.
// Add a line to graph
LineObj line = new LineObj(Color.Black, 2009, 0, 2009, xxxxxx);
line.Location.CoordinateFrame = CoordType.AxisXYScale;
line.Line.Style = System.Drawing.Drawing2D.DashStyle.DashDot;
myPane.GraphObjList.Add(line);
非常感谢.
Thank you very much.
推荐答案
这篇关于如何在Zed图形窗格中获取最大坐标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!