OptionalbackgroundImage?: PerseusImageBackgroundAn optional image to use in the background
Optionalcorrect?: PerseusGraphTypeThe correct answer for this widget.
OptionalfullGraphAriaDescription?: stringAria description that applies to the entire graph.
OptionalfullGraphAriaLabel?: stringAria label that applies to the entire graph.
OptionalgridStep?: [x: number, y: number]Where the grid lines on the graph will render. default [1, 1]
NOTE(kevinb): perseus_data.go defines this as Array
OptionalkeypadElement?: anyWhere 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
OptionalrulerLabel?: stringThe unit to show on the ruler. e.g. "mm", "cm", "m", "km", "in", "ft", "yd", "mi".
OptionalrulerTicks?: numberHow 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
OptionalshowRuler?: booleanWhether to show the Ruler tool overlaid on top of the graph.
OptionalshowSolutions?: ShowSolutionsOptionalshowTooltips?: booleanWhether to show tooltips on the graph
OptionalsnapStep?: [x: number, y: number]Where 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
StaticdefaultStaticdefaultStaticdefaultStaticdefaultStaticdefaultStaticgetStaticgetLike props.graph or props.correct
of an InteractiveGraph instance
StaticgetStaticgetStaticgetStaticgetStaticgetStaticgetStaticgetStaticgetStaticgetLike props.graph or props.correct
of an InteractiveGraph instance
StaticgetStaticgetLike props.graph or props.correct
of an InteractiveGraph instance
StaticgetStaticgetStaticgetLike props.graph or props.correct
of an InteractiveGraph instance
StaticgetStaticgetLike props.graph or props.correct
of an InteractiveGraph instance
StaticgetStaticgetStaticgetStaticgetLike props.graph or props.correct
of an InteractiveGraph instance
StaticgetStaticgetStaticgetStaticnormalizeStaticpoints
Deprecated
See
React Docs