Feature #1607: better x axis min, max