[histogram] allow to use smooth rough data as the source for the histogram.

Authored by asemke on May 22 2020, 7:31 AM.