mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 05:08:15 +00:00
[Telemetry] Expose telemetryFormatter
Expose telemetryFormatter as a service; additionally, fix some structural issues to make sure this is passed around as needed among plot components. WTD-599.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user