Skip to content

Add clear button to SerialPlotter #7452

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chromhelm
Copy link
Contributor

No description provided.

@facchinm facchinm added the IDE 1.9.x Beta Related to the Arduino IDE Beta Build label Apr 11, 2018
@facchinm facchinm added the SerialPlotter Tools > Serial Plotter label Sep 20, 2019
@chromhelm chromhelm force-pushed the serialPlotterClearButton branch from 8c97e97 to 3cbe558 Compare May 2, 2020 07:30
@@ -255,6 +256,8 @@ public SerialPlotter(BoardPort port) {

messageBuffer = new StringBuffer();
graphs = new ArrayList<>();

clearButton.addActionListener(ae -> {graphs.clear();});
Copy link
Contributor

Choose a reason for hiding this comment

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

You can argue to also reset xCount to 0 here as well.

@CLAassistant
Copy link

CLAassistant commented Apr 9, 2021

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE 1.9.x Beta Related to the Arduino IDE Beta Build SerialPlotter Tools > Serial Plotter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants