C# Class Accord.Controls.Histogram

Histogram control.

The control displays histograms represented with integer arrays, where each array's element keeps occurrence number of the corresponding element.

Sample usage:

// create array with histogram values int[] histogramValues = new int[] { 3, 8, 53, 57, 79, 69, ... }; // set values to histogram control histogram.Values = histogramValues;

Sample control's look:

Inheritance: System.Windows.Forms.Control
Exibir arquivo Open project: accord-net/framework Class Usage Examples

Private Properties

Property Type Description
Histogram_MouseDown void
Histogram_MouseLeave void
Histogram_MouseMove void
Histogram_MouseUp void
InitializeComponent void

Public Methods

Method Description
Histogram ( ) : System

Initializes a new instance of the Histogram class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Dispose the object.

OnPaint ( PaintEventArgs e ) : void

Paint the control.

Private Methods

Method Description
Histogram_MouseDown ( object sender, System e ) : void
Histogram_MouseLeave ( object sender, System e ) : void
Histogram_MouseMove ( object sender, System e ) : void
Histogram_MouseUp ( object sender, System e ) : void
InitializeComponent ( ) : void

Method Details

Dispose() protected method

Dispose the object.
protected Dispose ( bool disposing ) : void
disposing bool Indicates if disposing was initiated manually.
return void

Histogram() public method

Initializes a new instance of the Histogram class.
public Histogram ( ) : System
return System

OnPaint() protected method

Paint the control.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs Data for Paint event.
return void