How to display the entries and details of a particular histogram when multiple histograms are plotted on a single plot