diff --git a/platform/features/plot/src/PlotController.js b/platform/features/plot/src/PlotController.js index dca8175ad4..9b8c60b351 100644 --- a/platform/features/plot/src/PlotController.js +++ b/platform/features/plot/src/PlotController.js @@ -86,7 +86,10 @@ define( // Set up available modes (stacked/overlaid), based on the // set of telemetry objects in this plot view. function setupModes(telemetryObjects) { - modeOptions = new PlotModeOptions(telemetryObjects || []); + modeOptions = new PlotModeOptions( + telemetryObjects || [], + subPlotFactory + ); } // Update all sub-plots diff --git a/platform/features/plot/src/SubPlot.js b/platform/features/plot/src/SubPlot.js index 1de8e0d65c..c99ebcc187 100644 --- a/platform/features/plot/src/SubPlot.js +++ b/platform/features/plot/src/SubPlot.js @@ -3,10 +3,9 @@ define( [ './elements/PlotPosition', - './elements/PlotFormatter', './elements/PlotTickGenerator' ], - function (PlotPosition, PlotFormatter, PlotTickGenerator) { + function (PlotPosition, PlotTickGenerator) { "use strict"; var DOMAIN_TICKS = 5, diff --git a/platform/telemetry/bundle.json b/platform/telemetry/bundle.json index 10256fd17c..4b63f3f5f5 100644 --- a/platform/telemetry/bundle.json +++ b/platform/telemetry/bundle.json @@ -23,6 +23,12 @@ "implementation": "TelemetryCapability.js", "depends": [ "$injector", "$q", "$log" ] } + ], + "services": [ + { + "key": "telemetryFormatter", + "implementation": "TelemetryFormatter.js" + } ] } } \ No newline at end of file