allow for x-axis-labels to be an object