C# Класс NPlot.LinePlot

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

Private Properties

Свойство Тип Описание

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

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

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

LinePlot ( IList yData, IList xData ) : System

Constructor

SuggestXAxis ( ) : DateTimeAxis

Returns an x-axis that is suitable for drawing this plot.

SuggestYAxis ( ) : LinearAxis

Returns a y-axis that is suitable for drawing this plot.

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

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

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

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

Constructor
public LinePlot ( IList yData, IList xData ) : System
yData IList the ordinate data to associate with this plot.
xData IList the abscissa data to associate with this plot.
Результат System

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

Returns an x-axis that is suitable for drawing this plot.
public SuggestXAxis ( ) : DateTimeAxis
Результат DateTimeAxis

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

Returns a y-axis that is suitable for drawing this plot.
public SuggestYAxis ( ) : LinearAxis
Результат LinearAxis