Fixed issue with wrong alignment of labels on the X axis of a rotated polar chart. Closes #1942.