axisBottom={{ orient: "bottom", tickSize: 5, tickPadding: 5, tickRotation: 0, legend: "", legendOffset: 36, format: (index) => { for (let i = 0; i <= data.length; i++) { if (index === i) return data[i].label; } }, }}