It is possible that this method will get called before both the range and the bin width are final and therefore the number of bins could be excessive. Thus it would be better to postpone the resizing until needed.

Used to convert the projected value to number of entries in a bin. The default, implemented here, is to return 1.0. Derived class, such as those that do binning, may return a value to reflect their binning algorithm.