Added percentage mode for histograms