Making x-axis label rotation and margins configurable