C# Class NPlot.VerticalLine

Encapsulates functionality for drawing a vertical line on a plot surface.
Inheritance: IPlot
Afficher le fichier Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Draw() public méthode

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.
Résultat void

SuggestXAxis() public méthode

Returns an x-axis that is suitable for drawing this plot.
public SuggestXAxis ( ) : DateTimeAxis
Résultat DateTimeAxis

SuggestYAxis() public méthode

Returns null indicating that y extremities of the line are variable.
public SuggestYAxis ( ) : LinearAxis
Résultat LinearAxis

VerticalLine() public méthode

Constructor
public VerticalLine ( double abscissaValue ) : System
abscissaValue double abscissa (X) value of line.
Résultat System

VerticalLine() public méthode

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

VerticalLine() public méthode

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.
Résultat System