C# 클래스 NPlot.VerticalLine

Encapsulates functionality for drawing a vertical line on a plot surface.
상속: IPlot
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian 1 사용 예제들

공개 메소드들

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

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

SuggestXAxis ( ) : DateTimeAxis

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

SuggestYAxis ( ) : LinearAxis

Returns null indicating that y extremities of the line are variable.

VerticalLine ( double abscissaValue ) : System

Constructor

VerticalLine ( double abscissaValue, Color color ) : System

Constructor

VerticalLine ( double abscissaValue, Pen pen ) : System

Constructor

메소드 상세

Draw() 공개 메소드

Draws the vertical 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

SuggestXAxis() 공개 메소드

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

SuggestYAxis() 공개 메소드

Returns null indicating that y extremities of the line are variable.
public SuggestYAxis ( ) : LinearAxis
리턴 LinearAxis

VerticalLine() 공개 메소드

Constructor
public VerticalLine ( double abscissaValue ) : System
abscissaValue double abscissa (X) value of line.
리턴 System

VerticalLine() 공개 메소드

Constructor
public VerticalLine ( double abscissaValue, Color color ) : System
abscissaValue double abscissa (X) value of line.
color Color draw the line using this color.
리턴 System

VerticalLine() 공개 메소드

Constructor
public VerticalLine ( double abscissaValue, Pen pen ) : System
abscissaValue double abscissa (X) value of line.
pen System.Drawing.Pen Pen to use to draw the line.
리턴 System