AddBin Method

The AddBin method adds a bin to a histogram or rose diagram. Returns the bin index as a Short. This index changes as bins are added or deleted.

Syntax

object.AddBin( min, max, noMin, noMax )

 

Parameter Type Description
min Double required, minimum value of bin
max Double required, maximum value of bin
noMin Variant optional, true if no minimum for bin (default = false)
noMax Variant optional, true if no maximum for bin (default = false)

 

Remarks

Note that only one bin may be set to no minimum. Similarly only one bin may be set to no maximum. True values for noMin or noMax are ignored if a bin already has been set to no minimum or no maximum.

Example

This example shows how to add a bin.

Histogram.AddBin(0,40)

 

Used by: AutoHistogram object, AutoRoseDiagram object