Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial Plotter? #244

Open
FoamyGuy opened this issue Aug 29, 2024 · 2 comments
Open

Serial Plotter? #244

FoamyGuy opened this issue Aug 29, 2024 · 2 comments
Labels
beta Issue is available in beta enhancement New feature or request

Comments

@FoamyGuy
Copy link

Is there interest in having a serial plotter similar to the one inside of Mu?

@FoamyGuy FoamyGuy added the enhancement New feature or request label Aug 29, 2024
@makermelissa
Copy link
Collaborator

Possibly. I believe I did one in another project (https://github.com/adafruit/Adafruit_WebSerial_Plotter) that could possibly be ported here.

@FoamyGuy
Copy link
Author

Nice, thank you for the link, I hadn't seen that before.

I started tinkering with this idea a bit this morning, I've gotten as far as making a spot in the layout for it, and a button that reveals/hides it but no actual plotting functionality yet. I'm planning initially on putting it in the lighter grey box within the serial-page portion of the layout, but am open to feedback or other suggestions if you have different ideas about how or where to integrate it into the UI.

image

I've used Apex Charts (https://apexcharts.com/) for a few things recently and was thinking of using it for this plotter. But I have also used Chart.js in the past which it looks like the older serial plotter you worked on uses. I may opt for Chart.js instead and see how much of that older version I can re-use.

I'm assuming that the XT and XY plot types are like "value over time" vs. "value over other value". I hadn't considered that option before but it does seem like nice functionality.

The buffer size is nice as well, I thought about it some but hadn't settled on any solution beyond having the clear button also clear out the chart data in addition to the terminal output.

@makermelissa makermelissa added the beta Issue is available in beta label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Issue is available in beta enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants