This patch includes the following:
- Fixes histogram bugs
- Removes the recalculate button as it was not working properly and redraw on value update instead.
- Fix autoscaling functionality for histograms. (still has a minor bus, which will be solved when we will have vertical histograms)
I have also pushed the code to histogram_vertical branch, you can check that out to test it.