[histogram] save/load of range settings and proper update of ranges on data…

Authored by asemke on Oct 3 2018, 7:17 PM.