nasa / openmct

A web based mission control framework.
https://nasa.github.io/openmct/
Other
12.02k stars 1.24k forks source link

Display Layout saving plot configuration "range" selection. #7674

Open jtrack3d opened 6 months ago

jtrack3d commented 6 months ago

Is your feature request related to a problem? Please describe. As user's create Displays, they will add plots of telemetry. Some telemetry have multiple ranges. The Plotly control allows you to swap between the ranges (lower left corner) which is good but it's only a "live" change and not part of saved properties.

When leaving the display and returning, it goes back to the default range.

This might be related to an old "open" item https://github.com/nasa/openmct/issues/1390

Describe the solution you'd like It would be great if on plots you could edit properties on a plot within a display and choose the range domain.

unlikelyzero commented 4 months ago

@charlesh88 to follow up

charlesh88 commented 4 months ago

A minor detail, but for clarity: this isn't a Plotly control, but is instead part of the core Open MCT plot view.

I agree that in a persistence context this should work as has been described. When an Overlay or Stacked Plot is composed, the user can set and save the telemetry end point's field they want plotted. The same behavior should attain when adding a telemetry end point directly to a Display Layout or Flexible Layout as a plot or alphanumeric view. There is a workaround for this, but it's cumbersome: add the telemetry end point to an Overlay Plot, set the desired range field, save, then add that object to the desired layout.

It's important to note that when browsing a plot view (in any context) the user can switch an end point's range input between values, if available - but, this is a transient change and should remain so.