C# Class NPlot.HistogramPlot

Provides the ability to draw histogram plots
Inheritance: BaseSequencePlot, IPlot, ISequencePlot
ファイルを表示 Open project: mono/nplot-gtk Class Usage Examples

Public Methods

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

Renders the histogram.

DrawInLegend ( Graphics g, Xwt.Rectangle startEnd ) : void

Draws a representation of this plot in the legend.

HistogramPlot ( ) : System

Constructor

StackedTo ( HistogramPlot hp ) : void

Stack the histogram to another HistogramPlot.

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.

Method Details

Draw() public method

Renders the histogram.
public Draw ( Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis ) : void
g Graphics The Graphics 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, Xwt.Rectangle startEnd ) : void
g Graphics The graphics surface on which to draw.
startEnd Xwt.Rectangle A rectangle specifying the bounds of the area in the legend set aside for drawing.
return void

HistogramPlot() public method

Constructor
public HistogramPlot ( ) : System
return System

StackedTo() public method

Stack the histogram to another HistogramPlot.
public StackedTo ( HistogramPlot hp ) : void
hp HistogramPlot
return void

SuggestXAxis() public method

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

SuggestYAxis() public method

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