C# Класс NPlot.VerticalLine

Encapsulates functionality for drawing a vertical line on a plot surface.
Наследование: IPlot
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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