Skip to content

Conversation

@ldbach
Copy link

@ldbach ldbach commented Dec 11, 2025

Able to add markers for timestamps and export in a new excel file. Can still improve with the code. The real scale from the Y axis of the graph is not done, right now only hard code.

@ldbach ldbach requested a review from kraemr December 11, 2025 11:39
@Snacj Snacj self-assigned this Dec 17, 2025
Copy link
Collaborator

@Snacj Snacj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the comments and see if timestamps work on actual machines.

// Assuming the graph's fixed Y-scale is from -1 to 1 based on the sine wave example
const graphMin = -1;
const graphMax = 1;
// TODO: For real-world graphs (like Winder), you might need to read the actual min/max scale
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't assume that the min/max of the y axis will always be -1 and 1.
See roundness value of the laser (min: 0, max: 100)


const graphEl = graphWrapperRef.current;
// The BigGraph component is the first child (the one with the actual chart)
// TODO: Find a better way to do this
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is a better way to do it, please implement. Otherwise delete the comment.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please test the Graph on that machine. It may not work due to the y-axis limitation.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please test the Graph on that machine. It may not work due to the y-axis limitation.

@kraemr kraemr removed their request for review December 18, 2025 10:13
@MilanVDB
Copy link
Collaborator

@Snacj Please finish up this Issue asap, bach's internship is over

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants