C# 클래스 NPlot.LinePlot

Encapsulates functionality for plotting data as a line chart.
상속: IPlot
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void

Draws the line plot on a GDI+ surface against the provided x and y axes.

LinePlot ( IList yData, IList xData ) : System

Constructor

SuggestXAxis ( ) : DateTimeAxis

Returns an x-axis that is suitable for drawing this plot.

SuggestYAxis ( ) : LinearAxis

Returns a y-axis that is suitable for drawing this plot.

메소드 상세

Draw() 공개 메소드

Draws the line plot on a GDI+ surface against the provided x and y axes.
public Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void
g System.Drawing.Graphics The GDI+ surface on which to draw.
xAxis PhysicalAxis The X-Axis to draw against.
yAxis PhysicalAxis The Y-Axis to draw against.
리턴 void

LinePlot() 공개 메소드

Constructor
public LinePlot ( IList yData, IList xData ) : System
yData IList the ordinate data to associate with this plot.
xData IList the abscissa data to associate with this plot.
리턴 System

SuggestXAxis() 공개 메소드

Returns an x-axis that is suitable for drawing this plot.
public SuggestXAxis ( ) : DateTimeAxis
리턴 DateTimeAxis

SuggestYAxis() 공개 메소드

Returns a y-axis that is suitable for drawing this plot.
public SuggestYAxis ( ) : LinearAxis
리턴 LinearAxis