C# 클래스 NPlot.AxesConstraint.YPixelWorldLength

Defines an AxisConstraint that forces the world length corresponding to one pixel on the left y-axis to be a certain value. TODO: Allow the pixel world length to be set for the right axis.
상속: AxesConstraint
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian

공개 메소드들

메소드 설명
ApplyConstraint ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2 ) : void

Applies the constraint to the axes.

YPixelWorldLength ( double p ) : System

Constructor, which defines the world pixel length only. Both x-axes will be moved by equal amounts in order to force this constraint.

YPixelWorldLength ( double p, PlotSurface2D holdFixedX ) : System

Constructor, which defines the world pixel length together with the x-axis that should be held constant when forcing this constraint [the other x-axis only will be moved].

메소드 상세

ApplyConstraint() 공개 메소드

Applies the constraint to the axes.
public ApplyConstraint ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2 ) : void
pXAxis1 PhysicalAxis The bottom x-axis.
pYAxis1 PhysicalAxis The left y-axis.
pXAxis2 PhysicalAxis The top x-axis.
pYAxis2 PhysicalAxis The right y-axis.
리턴 void

YPixelWorldLength() 공개 메소드

Constructor, which defines the world pixel length only. Both x-axes will be moved by equal amounts in order to force this constraint.
public YPixelWorldLength ( double p ) : System
p double The world pixel length
리턴 System

YPixelWorldLength() 공개 메소드

Constructor, which defines the world pixel length together with the x-axis that should be held constant when forcing this constraint [the other x-axis only will be moved].
public YPixelWorldLength ( double p, PlotSurface2D holdFixedX ) : System
p double The world pixel length
holdFixedX PlotSurface2D The position of this x-axis will be held constant. The other x-axis will be moved in order to force the constraint.
리턴 System