TinyBase logoTinyBase β

YAxis

The YAxis component configures the y axis of a CartesianChart component.

YAxis(props: YAxisProps): ComponentReturnType
TypeDescription
propsYAxisProps
returnsComponentReturnType

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:

YAxis component example

Since

v8.5.0