Improve X axis for history graph