TinyBase logoTinyBase β

XAxis

The XAxis component configures the x axis of a CartesianChart component, LineChart component, or BarChart component.

XAxis(props: XAxisProps): ComponentReturnType
TypeDescription
propsXAxisProps
returnsComponentReturnType

It is a configuration child rather than a separately rendered SVG element: include zero or one XAxis component in a chart's children. If omitted, the x axis is inferred from the chart's series.

See the Axis Overrides (React) demo for this component in action:

XAxis component example

Since

v8.5.0