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 )
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 Remarks for 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.