OptionalbackgroundThe Grid Canvas size. e.g. [400, 140]
Optionaleditable"canvas", "graph"
The steps in the grid. default [1, 1]
The Axis labels. e.g. ["x", "y"]
The type of markings to display on the graph.
The Axis ranges. e.g. [[-10, 10], [-10, 10]]
OptionalrulerThe unit to show on the ruler. e.g. "mm", "cm", "m", "km", "in", "ft", "yd", "mi"
OptionalrulerHow many ticks to show on the ruler. e.g. 1, 2, 4, 8, 10, 16
OptionalshowWhether to show the Protractor tool overlayed on top of the graph
OptionalshowWhether to show the Ruler tool overlayed on top of the graph
OptionalsnapThe snap steps. default [0.5, 0.5]
This controls the number (and position) of the tick marks for the X and Y axis. e.g. [1, 1]
OptionalvalidWhether the grid is valid or not. Do the numbers all make sense? NOTE(jeremy) The editor for this widget sometimes stores the graph editor validation error message into this field. It seems innocuous because it looks like many of these usages don't actually use the graph at all.
An optional background image to use