[Plot] Add comments
Add comments to plot code introduced to handle subscribed telemetry only, to work around removal of the cache to reduce memory usage, WTD-751.
This commit is contained in:
@@ -69,6 +69,8 @@ define(
|
||||
.forEach(updateSubplot);
|
||||
}
|
||||
|
||||
// Reinstantiate the plot updater (e.g. because we have a
|
||||
// new subscription.) This will clear the plot.
|
||||
function recreateUpdater() {
|
||||
updater = new PlotUpdater(
|
||||
subscription,
|
||||
@@ -77,6 +79,7 @@ define(
|
||||
);
|
||||
}
|
||||
|
||||
// Handle new telemetry data in this plot
|
||||
function updateValues() {
|
||||
if (updater) {
|
||||
updater.update();
|
||||
|
||||
Reference in New Issue
Block a user