Added automatic default alignment of axis labels based on which side of the chart and the label's rotation.