+ fix On-Off histogram
+ histogram generation parameters