mirror of
https://github.com/nasa/openmct.git
synced 2025-04-08 20:04:27 +00:00
[Plot] Update plot with historical data
Trigger update of displayed plot data when new historical data becomes available, WTD-806.
This commit is contained in:
parent
ffc122fb5c
commit
6400a670fa
@ -95,10 +95,17 @@ define(
|
||||
update();
|
||||
}
|
||||
|
||||
// Display new historical data as it becomes available
|
||||
function addHistoricalData(domainObject, series) {
|
||||
updater.addHistorical(domainObject, series);
|
||||
modeOptions.getModeHandler().plotTelemetry(updater);
|
||||
update();
|
||||
}
|
||||
|
||||
// Issue a new request for historical telemetry
|
||||
function requestTelemetry() {
|
||||
if (handle && updater) {
|
||||
handle.request({}, updater.addHistorical);
|
||||
handle.request({}, addHistoricalData);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user