C# Class NPlot.StepPlot

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

Public Methods

Method 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 method

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.
return void

DrawInLegend() public method

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.
return void

StepPlot() public method

Constructor.
public StepPlot ( ) : System
return System

SuggestXAxis() public method

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
return Axis

SuggestYAxis() public method

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
return Axis