C# Class NPlot.AxesConstraint.AxisPosition

Defines an AxisConstraint that forces the specified axis to be placed at a specific physical position. The position of the axis opposite is held constant.
Inheritance: AxesConstraint
Datei anzeigen Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
ApplyConstraint ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2 ) : void

Applies the constraint to the axes.

AxisPosition ( PlotSurface2D axis, int yPosition ) : System

Constructor, which defines an horizontal axis and the physical y position it should be drawn at.

Method Details

ApplyConstraint() public method

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.
return void

AxisPosition() public method

Constructor, which defines an horizontal axis and the physical y position it should be drawn at.
public AxisPosition ( PlotSurface2D axis, int yPosition ) : System
axis PlotSurface2D The x-axis for which the y position is to be specified.
yPosition int The [physical] y position of the axis.
return System