:)
This commit is contained in:
parent
1f7395d719
commit
7334b4d9a8
@ -12,11 +12,9 @@ const Home = () => {
|
|||||||
const handleSubmit = (e) => {
|
const handleSubmit = (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
// Convert inputs to numbers
|
|
||||||
const startX = parseFloat(start);
|
const startX = parseFloat(start);
|
||||||
const endX = parseFloat(end);
|
const endX = parseFloat(end);
|
||||||
|
|
||||||
// Generate labels and data points
|
|
||||||
const labels = [];
|
const labels = [];
|
||||||
const dataPoints = [];
|
const dataPoints = [];
|
||||||
for (let x = startX; x <= endX; x += 0.1) {
|
for (let x = startX; x <= endX; x += 0.1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user