Skip to content

Serial Plotter - Set maximum dataset points #1308

Closed as not planned
Closed as not planned
@InstantMuffin

Description

@InstantMuffin

Describe the request

I would love for the Serial Plotter to show more than just the last 50 dataset points as it currently does.
I have not found an option to set this, and I believe a simple slider (from lets say 10-500) would do.

EDIT:
I would love to do this myself, and I think just changing the buffer's size statically is as easy as altering this line:
https://github.com/arduino/arduino-serial-plotter-webapp/blob/04a460e0c21609a63c4064f561990c0128c5a0ed/src/ChartPlotter.tsx#L46
However upon finding this I noticed that this is actually its own app with its own repo and I am not sure how to inject an altered dependency/module when compiling arduino-ide (I assume it somehow fetches these apps as packages stuffed into respective singular files as a simple file search doesn't yield any results).
That said it raises the question if this issue is best opened here, or if I should repost this in the app's repo. I apologize for any inconvenience opening this issue here might have caused.

Describe the current behavior

The Serial Plotter currently only plots the last 50 dataset points.

Arduino IDE version

"All of them"

Operating system

N/A

Operating system version

XUbuntu 22.04 LTS

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions