CHistogram:SetBinCount
The SetBinCount method forces an exact number of bins to be placed between the specified minimum and maximum data values. The bin width is calculated to meet this condition.
CHistogram:SetBinCount( nCount, nMinVal, nMaxVal )
where
nCount is the number of bins to use.
nMinVal is the minimum data value used for the histogram.
nMaxVal is the maximum data value used for the histogram.
This method is used to create an exact number of histogram bins. If the data all have integer values, then nCount, nMinVal, and nMaxVal should be chosen so that the bin width is also an integer value. See the SetBinAuto method for a discussion of histogram aliasing. If you do not call one of the SetBin methods, Mira defaults to this binning option.