Prevent errors when no X axis labels exist (would prefer there to also always be an X axis label, even with only one datapoint, but can't figure out how to do that)