Adds support for "cumulative" plots, represented by bar diagrams, both for vertical and horizontal plots.
A bit of refactoring has also been made: