diff --git a/platform/features/plot/src/elements/PlotUpdater.js b/platform/features/plot/src/elements/PlotUpdater.js index 815b91b4e5..d714e8f939 100644 --- a/platform/features/plot/src/elements/PlotUpdater.js +++ b/platform/features/plot/src/elements/PlotUpdater.js @@ -78,7 +78,7 @@ define( } // If there are no more lines, clear the domain offset - if (Object.keys(lines).length < 1) { + if (Object.keys(next).length < 1) { domainOffset = undefined; }