Выставьте для конкретной оси опцию:
allowDecimals: false
см. документацию https://recharts.org/en-US/api/XAxis#all...