C# Class NPlot.LinePlot

Encapsulates functionality for plotting data as a line chart.
Inheritance: IPlot
Afficher le fichier Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

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

Method Details

Draw() public méthode

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

LinePlot() public méthode

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

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 a y-axis that is suitable for drawing this plot.
public SuggestYAxis ( ) : LinearAxis
Résultat LinearAxis