Fix positioning errors with category ticks...
Fix positioning errors with category ticks
Two problems are fixed in this commit:
1) Rounding errors caused by use of int instead of qreal made
category axes to be one pixel off 50% of the time.
2) Bar category axes offset was calculated incorrectly, and again
with rounding errors stemming from use of int.
Also fixed some code style issues in related code.
Task-number: QTRD-1920
Reviewed-by: Mika Salmela