mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 20:28:14 +00:00
[Plot] Update stacked plots immediately
When changes to pan-zoom bounds are made in one subplot, this will effect the pan-zoom bounds of other subplots. Ensure this occurs immediately. WTD-625.
This commit is contained in:
@ -37,12 +37,10 @@ define(
|
||||
function plotTelemetry(prepared) {
|
||||
// Fit to the boundaries of the data, but don't
|
||||
// override any user-initiated pan-zoom changes.
|
||||
panZoomStackGroup.getPanZoomStacks().forEach(function (stack) {
|
||||
stack.setBasePanZoom(
|
||||
prepared.getOrigin(),
|
||||
prepared.getDimensions()
|
||||
);
|
||||
});
|
||||
panZoomStackGroup.setBasePanZoom(
|
||||
prepared.getOrigin(),
|
||||
prepared.getDimensions()
|
||||
);
|
||||
|
||||
subplots.forEach(function (subplot, index) {
|
||||
plotTelemetryTo(subplot, prepared, index);
|
||||
|
Reference in New Issue
Block a user