updated the range to chain change events from range and scale to the change event of axis