OptionalbackgroundOptionalcorrectThe correct answer for this widget.
OptionalfullAria description that applies to the entire graph.
OptionalfullAria label that applies to the entire graph.
The type of graph
OptionalgridWhere the grid lines on the graph will render. default [1, 1]
NOTE(kevinb): perseus_data.go defines this as Array
Where to put the axis labels on the graph. default: "onAxis"
How to label the X and Y axis. default: ["x", "y"]
Shapes (points, chords, etc) displayed on the graph that cannot be moved by the user.
The type of markings to display on the graph.
The X and Y coordinate ranges for the view of the graph. default: [[-10, 10], [-10, 10]]
NOTE(kevinb): perseus_data.go defines this as Array<Array
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. Must be an integer.
Whether to show the arrows on the axis.
Whether to show the Protractor tool overlaid on top of the graph
OptionalshowWhether to show the Ruler tool overlaid on top of the graph.
OptionalshowWhether to show tooltips on the graph
OptionalsnapWhere the graph points will lock to when they are dragged. default [0.5, 0.5]
NOTE(kevinb): perseus_data.go defines this as Array
Where the little black axis lines & labels (ticks) should render. Also known as the tick step. default [1, 1]
NOTE(kevinb): perseus_data.go defines this as Array
An optional image to use in the background