Added percentage stacking mode to histogram