Fix alignment of rotated labels in bar graph

This fixes the label alignment for me with a bar graph.
Can you check if it works well with line graphs as well?