C# Class NPlot.BarPlot

Draws
Inheritance: BasePlot, IPlot, IDrawable
Afficher le fichier Open project: mono/nplot-gtk Class Usage Examples

Méthodes publiques

Méthode Description
BarPlot ( ) : System

Default Constructor

Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void

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

SuggestXAxis ( ) : Axis

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

SuggestYAxis ( ) : Axis

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

WriteData ( System sb, RectangleD region, bool onlyInRegion ) : void

Write data associated with the plot as text.

TODO: not implemented.

Method Details

BarPlot() public méthode

Default Constructor
public BarPlot ( ) : System
Résultat System

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

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

SuggestXAxis() public méthode

Returns an x-axis that is suitable for drawing this plot.
public SuggestXAxis ( ) : Axis
Résultat Axis

SuggestYAxis() public méthode

Returns a y-axis that is suitable for drawing this plot.
public SuggestYAxis ( ) : Axis
Résultat Axis

WriteData() public méthode

Write data associated with the plot as text.
TODO: not implemented.
public WriteData ( System sb, RectangleD region, bool onlyInRegion ) : void
sb System the string builder to write to.
region RectangleD Only write out data in this region if onlyInRegion is true.
onlyInRegion bool If true, only data in region is written, else all data is written.
Résultat void