add points directly by clicking on the graph
Opened this issue · 2 comments
nhammad commented
Currently, we click on points on the grid and then they get added to the graph. Is there any way we can modify this such that we can add points by directly clicking on the graph itself?
MenesesGHZ commented
Yes, it can be done by just adding to the Graph.js component the same logic as the Drawer.js component.
MenesesGHZ commented
Drawer.js logic:
polynomial-regression-js/src/components/Drawer.js
Lines 25 to 30 in f656958
polynomial-regression-js/src/components/Drawer.js
Lines 36 to 40 in f656958