2010-11-23 3 views

답변

1

그래프 데모 here을 확인하십시오. 특히, 대부분의 시간은 당신이하는 Graph2D 개체를 인스턴스화 필요한 X를 추가하고 Y 축 (보통 LinearAxisIAxis를 구현하는) 한 다음 그래프에 표시 할 원하는 IPlot 인스턴스 추가 (예 : LinePlot 또는 HistogramPlot)

해당 데모에서 AddRandomLinePlot 메소드를 보면 실제 작동중인 것을 볼 수 있습니다.

0

나는 모두 Medsphere.Widgets을 다운로드 받아 성공적으로 빌드하고 Medsphere.Widgets.dll을 얻는다 고 가정합니다.


먼저 새 GTK # 프로젝트를 만들어야합니다. 둘째, 데모 파일에있는 GraphDemo.cs를 솔루션에 추가하십시오. 그리고 GraphDemo의 생성자를 수정하십시오 : public GraphDemo() : base ("Graph Demo") "를"Public GraphDemo (Mainwindow window) : base ("Graph Demo") "로 수정하십시오. 셋째,이 같은 자신의 메인 (문자열 []에 args)을 편집 :이 당신을 도울 수

public static viod Main() 
     { 
      Application.Init(); 
      MainWindow testWindow=new MainWindow(); 
      GraphDemo testGD=new GraphDemo(testWindow);//this is key. 
      testWindow.ShowAll(); 
      Application.Run(); 
      } 

     fellow these steps, you can get the beautiful chart. 

희망이 당신의 feeback를받을 기대합니다.

너, 데미

관련 문제