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.
ZedGraphControlのGraphPaneで既存の線/曲線を変更するにはどうすればよいですか?
その行のデータを取得するには、次を使用します。
CurveList lineData = zgcControl.GraphPane.CurveList[i];
しかし、その後、CurveListをどうするか悩んでいます。カーブリストの内容を変更したいのですが、どうすればいいのかわかりません。
これで何か助けはありますか?ありがとう!
何を変更しようとしていますか?
曲線をY軸上で100単位上に移動したいとすると、次のようになります。
CurveList lineData = zedGraphControl1.GraphPane.CurveList; CurveItem curve = lineData[0]; for (int i = 0; i < curve.Points.Count; i++ ) { PointPair point = curve.Points[i]; point.Y += 100; }