Inheritance
System.Object
Histogram
Constructors
Declaration
public Histogram(Draw2D draw2D, Units units)
Parameters
Declaration
public Histogram(Draw2D draw2D, Units units, Color barBackground)
Parameters
Type |
Name |
Description |
Draw2D |
draw2D |
|
Units |
units |
|
Color |
barBackground |
|
Methods
Declaration
public void Draw(float width, float height, int[] buckets, int totalFrameCount, float min, float max, Color barColor)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
System.Int32[] |
buckets |
|
System.Int32 |
totalFrameCount |
|
System.Single |
min |
|
System.Single |
max |
|
Color |
barColor |
|
Declaration
public void DrawBackground(float width, float height, int bucketCount, float spacing)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
System.Int32 |
bucketCount |
|
System.Single |
spacing |
|
Declaration
public void DrawData(float width, float height, int[] buckets, int totalFrameCount, float min, float max, Color barColor, float spacing)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
System.Int32[] |
buckets |
|
System.Int32 |
totalFrameCount |
|
System.Single |
min |
|
System.Single |
max |
|
Color |
barColor |
|
System.Single |
spacing |
|
Declaration
public void DrawEnd(float width, float min, float max, float spacing)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
min |
|
System.Single |
max |
|
System.Single |
spacing |
|
Declaration
public void DrawStart(float width)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
Declaration
public void SetUnits(Units units)
Parameters
Type |
Name |
Description |
Units |
units |
|