Add support to set x axis range