-
Notifications
You must be signed in to change notification settings - Fork 0
3.1.1 Grid
Jonas de Luna Skulberg edited this page Oct 14, 2023
·
2 revisions
You will usually not pass in any options to the Grid unless you don't want the axis. In that case just set hasAxis
to false.
- none
- none
-
cellSize?: number
: Size of the background cells. -
pointRadius?: number
: Radius of the background points. -
pointColor?: Color
Color of the background points. -
labels: boolean
: Whether the axis should have labels. -
yLabelText?: string
Label text for the y-axis. -
xLabelText?: string
Label text for the x-axis. -
hasAxis?: boolean
Whether the grid should have x and y axis.
cellSize: 10,
pointRadius: 1.5,
pointColor: new Color(0xe1e1e1),
labels: true,
xLabelText: "x",
yLabelText: "y",
hasAxis: true,
- none
- none