YAxis
The YAxis component configures the y axis of a CartesianChart component.
YAxis(props: YAxisProps): ComponentReturnType| Type | Description | |
|---|---|---|
props | YAxisProps | |
| returns | ComponentReturnType |
It is a configuration child rather than a separately rendered SVG element: include zero or one YAxis component in a CartesianChart component's children. If omitted, the y axis is inferred from the chart's series.
See the Axis Overrides (React) demo for this component in action:

Since
v8.5.0