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(...))
そのためには、「IsClippedToChartRect」属性を変更できるように、新しいTextObjを作成する必要があると思います。
ZedGraph.TextObj text = new ZedGraph.TextObj("Hello", xloc, yloc); text.IsClippedToChartRect = true;