Fix x-axis rules in charts