Minor bugfixes and optimizations.
Position of the y-axis labels can now be set between LEFT, RIGHT and BOTH_SIDED.
Merged pull request.