mirror of
https://github.com/nasa/openmct.git
synced 2024-12-26 00:01:05 +00:00
fc0376296d
Refactor plot view to use an injected telemetry formatter, instead of explicitly including moment. WTD-599.
27 lines
708 B
JSON
27 lines
708 B
JSON
{
|
|
"name": "Plot view for telemetry",
|
|
"extensions": {
|
|
"views": [
|
|
{
|
|
"name": "Plot",
|
|
"templateUrl": "templates/plot.html",
|
|
"needs": [ "telemetry" ],
|
|
"delegation": true
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"key": "mctChart",
|
|
"implementation": "MCTChart.js",
|
|
"depends": [ "$interval", "$log" ]
|
|
}
|
|
],
|
|
"controllers": [
|
|
{
|
|
"key": "PlotController",
|
|
"implementation": "PlotController.js",
|
|
"depends": [ "$scope", "telemetryFormatter" ]
|
|
}
|
|
]
|
|
}
|
|
} |