C# Class NPlot.StepPlot

Encapsulates functionality for plotting data as a stepped line.
Inheritance: BaseSequencePlot, IPlot, ISequencePlot
Afficher le fichier Open project: mono/nplot-gtk Class Usage Examples

Méthodes publiques

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

Method Details

Draw() public méthode

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

DrawInLegend() public méthode

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

StepPlot() public méthode

Constructor.
public StepPlot ( ) : System
Résultat System

SuggestXAxis() public méthode

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
Résultat Axis

SuggestYAxis() public méthode

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
Résultat Axis