Grid

The Grid component renders a Cartesian grid coordinate system.

Usage

Here is a basic usage of the Grid component:

Props

The Grid component accepts the following props:

NameTypeDefault valueDescription
displayNumbersbooleanfalseIf set to true, numbers will be displayed along the x and y axes.
displayAxisbooleanfalseIf set to true, the x and y axes will be displayed.
displayGridbooleanfalseIf set to true, the grid will be displayed.