C# Класс NPlot.StepPlot

Encapsulates functionality for plotting data as a stepped line.
Наследование: BaseSequencePlot, IPlot, ISequencePlot
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void

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

DrawInLegend ( Graphics g, Rectangle startEnd ) : void

Draws a representation of this plot in the legend.

StepPlot ( ) : System

Constructor.

SuggestXAxis ( ) : Axis

Returns an X-axis suitable for use by this plot. The axis will be one that is just long enough to show all data.

SuggestYAxis ( ) : Axis

Returns an Y-axis suitable for use by this plot. The axis will be one that is just long enough to show all data.

Описание методов

Draw() публичный Метод

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

DrawInLegend() публичный Метод

Draws a representation of this plot in the legend.
public DrawInLegend ( Graphics g, Rectangle startEnd ) : void
g System.Drawing.Graphics The graphics surface on which to draw.
startEnd System.Drawing.Rectangle A rectangle specifying the bounds of the area in the legend set aside for drawing.
Результат void

StepPlot() публичный Метод

Constructor.
public StepPlot ( ) : System
Результат System

SuggestXAxis() публичный Метод

Returns an X-axis suitable for use by this plot. The axis will be one that is just long enough to show all data.
public SuggestXAxis ( ) : Axis
Результат Axis

SuggestYAxis() публичный Метод

Returns an Y-axis suitable for use by this plot. The axis will be one that is just long enough to show all data.
public SuggestYAxis ( ) : Axis
Результат Axis