mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 05:08:15 +00:00
[Plot] Update plot controller spec
Update plot controller spec to reflect changes introduced for WTD-751 and WTD-784.
This commit is contained in:
@ -85,7 +85,9 @@ define(
|
||||
|
||||
// Handle new telemetry data in this plot
|
||||
function updateValues() {
|
||||
setupModes(subscription.getTelemetryObjects());
|
||||
if (subscription) {
|
||||
setupModes(subscription.getTelemetryObjects());
|
||||
}
|
||||
if (updater) {
|
||||
updater.update();
|
||||
modeOptions.getModeHandler().plotTelemetry(updater);
|
||||
@ -105,6 +107,7 @@ define(
|
||||
true // Lossless
|
||||
);
|
||||
if (subscription) {
|
||||
setupModes(subscription.getTelemetryObjects());
|
||||
setupAxes(subscription.getMetadata());
|
||||
recreateUpdater();
|
||||
}
|
||||
@ -183,6 +186,8 @@ define(
|
||||
* Check if a request is pending (to show the wait spinner)
|
||||
*/
|
||||
isRequestPending: function () {
|
||||
// Placeholder; this should reflect request state
|
||||
// when requesting historical telemetry
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user