How can I enable or disable the histogram in the DOM?