Added range option to histogram viewer.