shared func for x-axis labels (all types but pie)