Auto selection of the range

Added the option "autoRange: true,"