OpenC3 / cosmos

OpenC3 COSMOS
https://openc3.com
Other
103 stars 30 forks source link

Clear Telemetry Grapher graph data #1429

Open 321github123 opened 1 month ago

321github123 commented 1 month ago

First check out our main documentation site at https://openc3.com.

Is your feature request related to a problem? Please describe. User would like to clear our all currently plotted telemetry items within a Telemetry Grapher graph

Describe the solution you'd like Add "reset" button that clears out all previously plotted telemetry items to a Telemetry Grapher graph

Additional context Add any other context or screenshots about the feature request here.

jmthomas commented 1 month ago

We have a File menu option to reset Telemetry Grapher that clears everything and closes the graph.

321github123 commented 1 month ago

Would it be possible to add a reset button that clears the graph but doesn't close it?

jmthomas commented 1 month ago

Keep all the graph items but just clear the graph?

321github123 commented 1 month ago

Yes -- maybe the button should be called "clear"

ryanmelt commented 1 month ago

I think there are two different capabilities mentioned here:

  1. Clear all the data from a graph
  2. Remove all the items from a graph?
jmthomas commented 1 month ago

We already have the capability to clear the graph completely (remove all the items and data) via the File->Reset Configuration. I think the ability to clear all the data but keep the items is a nice feature. Not sure exactly where the right place for that option is (menu vs GUI element).

sunws4me commented 1 month ago

yes, just remove the data from existing graph(s). kind of need two opens, clear only 1 particular graph or all. leave all existing points as is, just erase current line(s)

jmthomas commented 1 month ago

Note you can already right-click an item in the legend and delete it

sunws4me commented 1 month ago

looking for an easy way to get from this: image to this: image

with just a single click

the mnemonic was hidden to protect the innocent :)

jmthomas commented 1 month ago

Agreed, we will implement a clear data option. It will clear all item's data from the graph.

sunws4me commented 1 month ago

thx