[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:
Victor Woeltjen
2014-12-24 11:14:38 -08:00
parent fc0376296d
commit 74f2af1011
3 changed files with 11 additions and 3 deletions

View File

@ -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