Minor optimisations.
Support negative height.

This effectively allows the vertical ordering to be reversed, as long as
you set an appropriate translate transform in the chart's parent <g>
element.