CHistogram:SetBinWidth
The SetBinWidth method sets the bin width to a specified value.
CHistogram:SetBinWidth( nBinWidth, nCount, nMinVal )
where
nBinWidth is the width of each bin used for the histogram.
nCount is the number of bins used in the histogram.
nMinVal is the minimum data value used for the histogram.
This method is useful not only when you want to force the bin to a particular value but also to specify an integer bi width when using integer data. When the data are all integer values and the bin width is not an integer value, aliasing causes adjacent histogram bins to alternate high and low, producing a comb-like appearance. If you do not call one of the SetBin methods, Mira defaults to the SetBinAuto option. The maximum histogram value is calculated using the specified values of nMinVal, nCount, and nBinWidth.