XAxis

You can customize the chart x-axis using the XAxis component:

import { Chart, Series, XAxis } from "@highcharts/react";
export default function XAxisChart() {
return (
<Chart>
<XAxis plotBands={[{ from: 1, to: 2, color: "red" }]}>
X axis values
</XAxis>
<Series data={[3, 4, 1, 5, 2]} />
</Chart>
);
}

The XAxis component accepts all x-axis API options as props. The axis title text can be passed as children.