Add grid interval property in order to control the number of grid lines with respect to the number of ticks on the axes.