score:1

Accepted answer
<YAxis type="number" domain={[0, 2]} ... />

Related Query

More Query from same tag